This is a migrated thread and some comments may be shown as answers.

Concurrency handling for updating entities?

2 Answers 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kendall Bennett
Top achievements
Rank 2
Kendall Bennett asked on 12 Jul 2011, 03:19 AM
Is there any good documentation for how to deal with concurrency for entities where you need more fine grained control over the concurrency? I have been looking at the documentation and searching for it, but the only stuff I can find is related to the ORM Classic, which I am not using.

I can see in the entity modeller tool there is a 'ConcurrencyMode' field which has a bunch of different values but it is not clear what each of those values means or how they work in practice?

More specifically, is there a way to specify the concurrency mode on individual members of an entity, like you can in Entity Framework? I would like to be able to specify that only certain members of an entity are involved in concurrency control, so that optimisitic concurrency will be used for all the other members, just not the members I need to protect?

2 Answers, 1 is accepted

Sort by
0
Kendall Bennett
Top achievements
Rank 2
answered on 14 Jul 2011, 03:08 AM
There is a way to do this but it appears it was never documented at all in the Q1 release. I see in the Q2 release this is now properly documented and it is clear how this works, and it will do exactly what I need.
0
Zoran
Telerik team
answered on 14 Jul 2011, 01:23 PM
Hi Kendall Bennett,

 The concurrency settings are the same in the OpenAccess classic and the Visual Designer, it is a different UI and API but the concurrency rules are not changed. I am glad you have found your way through this and we will definitely improve in all areas where the documentation of the new API is not as complete as the one for the Classic approach. However if you need any help regarding concurrency and are not able to find it in the section for the Visual Designer, you can always have a look into the classic approach section. 

Kind regards,
Zoran
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Kendall Bennett
Top achievements
Rank 2
Answers by
Kendall Bennett
Top achievements
Rank 2
Zoran
Telerik team
Share this question
or