locked
Are entityframework core 2.1 have problem on concurrency or not ? RRS feed

  • Question

  • User696604810 posted

    problem

    Are entityframework core 2.1 have problem on concurrency or not ?

    i work on asp.net core 2.1 entity framework web application mvc

    we need to make big web application library so that i ask more developers that using entityframework core 2.1

    and he tell me that have more problem on concurrency meaning when more user work on same time

    it will do problem when saving records ?

    so that i ask are this correct or not 

    Thursday, August 1, 2019 1:55 AM

All replies

  • User711641945 posted

    Hi ahmedbarbary,

    ahmedbarbary

    Are entityframework core 2.1 have problem on concurrency or not ?

    EF Core implements optimistic concurrency control, meaning that it will let multiple processes or users make changes independently without the overhead of synchronization or locking. 

    I suggest that you should focus on where causes the problem and how to configure EF to handle concurrency.

    More details about handling concurrency conflicts could refer to the official document: https://docs.microsoft.com/en-us/ef/core/saving/concurrency

    Best Regards,

    Rena

    Thursday, August 1, 2019 5:05 AM