Concurrency handling for updating entities?

Thread is closed for posting
3 posts, 0 answers
  1. Kendall Bennett
    Kendall Bennett avatar
    80 posts
    Member since:
    Feb 2010

    Posted 11 Jul 2011 Link to this post

    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. Kendall Bennett
    Kendall Bennett avatar
    80 posts
    Member since:
    Feb 2010

    Posted 13 Jul 2011 Link to this post

    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.
  3. Zoran
    Zoran avatar
    534 posts

    Posted 14 Jul 2011 Link to this post

    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,
    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!

Back to Top