Castle ActiveRecord optimistic locking on properties

Posted by Daniel T. on Stack Overflow See other posts from Stack Overflow or by Daniel T.
Published on 2010-04-26T23:19:14Z Indexed on 2010/04/26 23:23 UTC
Read the original article Hit count: 426

Can Castle ActiveRecord do optimistic locking on properties? I found optimistic locking for the entire class, but not for an individual property. In my case, I need to make it so that adding/removing elements in a collection does not update the version number of the entity (so for example, adding a Product to a Store without changing any of Store's properties will not increment the version number).

© Stack Overflow or respective owner

Related posts about castle-activerecord

Related posts about optimistic-locking