public static async Task <bool> AnyNoLockAsync <T>(this IOrderedQueryable <T> query) { using ( var scope = new TransactionScope(TransactionScopeOption.Required, new TransactionOptions() { IsolationLevel = IsolationLevel.ReadUncommitted }, TransactionScopeAsyncFlowOption.Enabled)) { var toReturn = await query.AnyAsync(); scope.Complete(); return(toReturn); } }