We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7306698 commit 2cb9334Copy full SHA for 2cb9334
1 file changed
README.md
@@ -107,9 +107,9 @@ try
107
await dbContext.BulkInsertAsync(list2, null, dbTransaction);
108
await dbContext.BulkInsertAsync(list3, null, dbTransaction);
109
110
- throw new DbUpdateException("Internal Server Error");
+ await transaction.CommitAsync();
111
}
112
-catch (Exception ex)
+catch (Exception)
113
{
114
if (transaction is not null) await transaction.RollbackAsync();
115
throw;
0 commit comments