ict.ken.be

 

Using NOLOCK in Linq to SQL

Related Posts

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