How to lock a SQL record with LinqToSql?

712 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 answers

0
Amy B On BEST ANSWER

LinqToSql supports optimistic concurrency, not pessimistic concurrency.