Entity Framework select write lock

.net entity-framework

Question

Is it possible to get Entity Framework to construct select queries with write locks, such as SELECT... FOR UPDATE?

1
11
3/10/2011 8:07:54 PM

Accepted Answer

The desired response was provided by the first Google search for "entity framework linq choose with lock." Look at this: http://social.msdn.microsoft.com/forums/en-US/adodotnetentityframework/thread/5219035b-aaa9-4917-b2f2-852b5d8449ea/

But here's a thought. You are able to design a stored process that selects with lock. then use the context that entity framework has produced to invoke that stored procedure.

3
3/10/2011 8:12:15 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow