Optimistic Concurrency

Posts   
 
    
krood
User
Posts: 1
Joined: 18-Oct-2006
# Posted on: 18-Oct-2006 23:28:35   

First off, I'm new to LLBLGen Pro.

Is there a way to gracefully add optimistic concurrency to all entities where saving the entity only updates the fields which have changed?

Thanks!

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 19-Oct-2006 02:14:55   

Please consult the section of the manual about Concurrency control: using the generated code - adapter - using the entity classes - concurrency control.

By default entity fields are marked as dirty when their value changes. When an entity is saved only these dirty fields are saved to the database.