ict.ken.be

Delivering solid user friendly software solutions since the dawn of time.

Using NOLOCK in Linq to SQL

Categories: .Net Linq SQL Server

using (var txn = new TransactionScope(TransactionScopeOption.Required,

new TransactionOptions { IsolationLevel = IsolationLevel.ReadUncommitted } ))

{

// Your nolock LINQ to SQL query goes here

}

more: Hanselman on NOLOCK with Linq