DomainServices have solving concurrency errors as a first class scenario. If you want to override the framework default logic you should.
Have an update operation for the entity.
Have a method that handles the concurrency and that:
- Begins with the word Resolve plus the name of the entity.
- Follows the signature template:
1: public bool ResolveEntityA(EntityA current, EntityA original, EntityA store, bool deleteOperation)
Have fun,
No comments:
Post a Comment