Statistics
The Highest Post







Statistics
Count 94
Avg 21.00
Min 21
Max 21

Details



Joseph Fredie How can we handle concurrency in Entity Framework? Note: Before this question, the interviewer can ask you about concurrency and what is pessimistic and optimistic locking. Please do refer to the ADO.NET chapter for those. In EF, concurrency issue is resolved by using optimistic locking. Please refer to the ADO.NET chapter for what is optimistic locking and pessimistic locking? To implement optimistic locking, right click on the EDMX designer and set the concurrency mode to Fixed, as shown in the below figure.
Related Topics