Ado.net concurrency in asp.net

Feb 24, 2011 at 9:48 AM

Hi All,

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

Advanced Thanks.

Regards,
Narasimha

Mar 9, 2011 at 12: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.