When I create a new diagram and "Update model from database", the StoreGeneratedPattern attribute gets added to some primary key properties, but not all of them. What criteria does the designer use to decide whether to add this or not?
views:
429answers:
1
+1
Q:
When is the StoreGeneratedPattern attribute added to a property in the ssdl? (Entity Framework)
+2
A:
I found that it was because my database was not consistent. It appears to add the attribute to any primary key that is an identity column.
adam0101
2009-07-01 14:28:31