Page 1 of 1

StoreGeneratedPattern = Identity being reset

Posted: Thu 13 Mar 2014 17:29
by temelvin
I understand that I have to manually set StoreGeneratedPattern = Identity for my identity columns based on the following from documentation :

"the users have to set the value of StoreGeneratedPattern manually in the model editor."

How do you keep this from being reset when updating the model from the database ?

1. Create a model from database
2. Set StoreGeneratedPattern = Identity for my primary key (backed by trigger / sequence)
3. All is good. :D
4. Run update model from database.
5. Changes are detected
6. Accept changes.
7. The previously set StoreGeneratedPattern = Identity is reset :(

Re: StoreGeneratedPattern = Identity being reset

Posted: Fri 14 Mar 2014 17:59
by Shalex
temelvin wrote:How do you keep this from being reset when updating the model from the database ?
You should clear selection of the corresponding change in Update Model From Database only once. Entity Developer will remember this choice for the next runs of the wizard.