How to lock a SQL record with LinqToSql?

729 Views Asked by At

I'm using a LinqToSql DataContext and I want to lock a record for being opened in write mode. Meaning while one user in Hong Kong has a record open in write mode, another user in France can't open that record in write mode. How?

1

There are 1 best solutions below

0
On BEST ANSWER

LinqToSql supports optimistic concurrency, not pessimistic concurrency.