How to lock a SQL record with LinqToSql?
I'm using a LinqToSql DataContext and I want to 开发者_如何学Clock 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?
LinqToSql supports optimistic concurrency, not pessimistic concurrency.
精彩评论