This question is locked. New answers and comments are not allowed.
Hi have created the class
category.id
category.name
i map the class to the table cateogires.
the id in the table is a char(10)
in the application i have this code:
Category cat = new Category();
cat.Id = "tel";
cat.Name = "Teler";
scope.Add(cat);
scope.Transaction.Commit();
in the db the orm not save the correct value for the id.
it use a autoincrement.
category.id
category.name
i map the class to the table cateogires.
the id in the table is a char(10)
in the application i have this code:
Category cat = new Category();
cat.Id = "tel";
cat.Name = "Teler";
scope.Add(cat);
scope.Transaction.Commit();
in the db the orm not save the correct value for the id.
it use a autoincrement.