Optimistic Locking

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
paul.-b
Posts: 5
Joined: Mon 26 Oct 2009 13:51

Optimistic Locking

Post by paul.-b » Mon 26 Oct 2009 15:06

is there an Optimistic Locking for Entity Framework?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 27 Oct 2009 15:56

The concurrency in Entity Framework is handled on the property level using the Concurrency Mode porperty. This is described here in MSDN:
http://msdn.microsoft.com/en-us/library/bb399207.aspx
Some more information is available here:
http://www.zimbio.com/ASP.Net/articles/ ... servations

damon.cognito
Posts: 50
Joined: Wed 22 Jul 2009 09:30

Post by damon.cognito » Fri 15 Jan 2010 14:20

This is very useful. However, I have 1000's of fields and most (if not all) need to have this setting. Could you add an option to the Entity Developer to set the ConcurrenyMode to 'Fixed' by default please?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 15 Jan 2010 14:51

We plan to implement a tool which will allow massive actions on model properties.

Post Reply