File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ - ADO.NET: Added ` BulkUpsertAsync ` for batch upsert operations with transaction checks and integration tests.
12- Optimization: On BadSession, do not invoke the ` DeleteSession() ` method.
23- Canceling AttachStream after calling the ` DeleteSession ` method.
34- Fixed bug: fixed issue where session was not deleted (` ClientTransportTimeout ` ).
Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ PRIMARY KEY (Id)
460460 await dropCmd . ExecuteNonQueryAsync ( ) ;
461461 }
462462 }
463-
463+
464464 [ Fact ]
465465 public async Task BulkUpsert_Throws_WhenTransactionIsOpen ( )
466466 {
@@ -500,7 +500,7 @@ PRIMARY KEY (Id)
500500
501501 Assert . Contains ( "BulkUpsert cannot be used inside an active transaction" , ex . Message ) ;
502502
503- await conn . CurrentTransaction . RollbackAsync ( ) ;
503+ await conn . CurrentTransaction ? . RollbackAsync ( ) ! ;
504504
505505 await using ( var dropCmd = conn . CreateCommand ( ) )
506506 {
You can’t perform that action at this time.
0 commit comments