开发者

How to lock a SQL record with LinqToSql?

开发者 https://www.devze.com 2023-02-12 07:01 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号