Base solution for your next web application
Open Closed

Example of implementation of optimistic concurrency #1410


User avatar
0
maikeloh created

I am trying to implement optimistic concurrency in my aplication service following the guidelines of this feature in entity framework, but i can't make this work, can any provide one example of optimistic concurrency with entity framework and abp. thanks a lot


3 Answer(s)
  • User Avatar
    0
    tteoh created

    <cite>maikeloh: </cite> I am trying to implement optimistic concurrency in my aplication service following the guidelines of this feature in entity framework, but i can't make this work, can any provide one example of optimistic concurrency with entity framework and abp. thanks a lot

    Please refer to this: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/50">https://github.com/aspnetboilerplate/as ... /issues/50</a>

    It is under feature request with Open status.

  • User Avatar
    0
    tteoh created

    <cite>maikeloh: </cite> I am trying to implement optimistic concurrency in my aplication service following the guidelines of this feature in entity framework, but i can't make this work, can any provide one example of optimistic concurrency with entity framework and abp. thanks a lot

    I was hoping a reply from support coz i am lack of knowlege to begin a proof of concept. May I know how did you attempt the implementation?

    The Use Case is primarily motivated by creating a Document/Transaction Number generation module. For example, for each Sales Order saved, a unique SO# can be assigned to the record in addition to the Record Id. Typically, it would be called a Document No. Therefore, it will be critical to ensure that no duplicate Doc No is generated when multiple users are creating new orders at the same time (concurrently).

    Thanks. /Tommy

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think this is the same with #3102.