views:

429

answers:

1

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?

+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