Skip to content

Commit

Permalink
pass arguments correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
paulegradie committed Feb 28, 2022
1 parent 14bb02d commit 7971f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Nevermore/Transient/TransactionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static DbTransaction BeginTransactionWithRetry(this SqlConnection connect

public static DbTransaction BeginTransactionWithRetry(this SqlConnection connection, IsolationLevel isolationLevel, string sqlServerTransactionName, RetryPolicy retryPolicy)
{
return (retryPolicy ?? RetryPolicy.NoRetry).LoggingRetries("Beginning Database Transaction").ExecuteAction(() => connection.BeginTransaction());
return (retryPolicy ?? RetryPolicy.NoRetry).LoggingRetries("Beginning Database Transaction").ExecuteAction(() => connection.BeginTransaction(isolationLevel, sqlServerTransactionName));
}
}
}

0 comments on commit 7971f63

Please sign in to comment.