concurrency in

Feb 24, 2011 at 10:48 AM

Hi All,

Can you please help me anybody how to maintain the data concurrency in with sample example.How to provide the Isolation levels and Locks for transaction.

Advanced Thanks.


Mar 9, 2011 at 1:20 PM

Look at nHydrate project to generate ADO.NET data layers (and Entity Framework too). This will not solve state (but does create the DAL and track database changes), but what I do is re-load the object in the button save event and then set the object and save it. You will need to do something like that where you re-load the object in the save event by primary key.