StoreGeneratedPattern = Identity being reset

StoreGeneratedPattern = Identity being reset

Postby temelvin » Thu 13 Mar 2014 17:29

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 :(
temelvin
 
Posts: 7
Joined: Fri 31 Jan 2014 03:01

Re: StoreGeneratedPattern = Identity being reset

Postby Shalex » Fri 14 Mar 2014 17:59

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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle