5 writes to _connection
System.Data (5)
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (5)
46
_connection
= connection;
253
_connection
= null; // Set prior to ExecuteTransaction call in case this initiates a TransactionEnd event
337
_connection
= null;
350
_connection
= null; // Set prior to ExecuteTransaction call in case this initiates a TransactionEnd event
436
_connection
= null;
11 references to _connection
System.Data (11)
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (11)
77
SqlInternalConnection connection =
_connection
;
167
returnValue =
_connection
.PromotedDTCToken;
170
if(
_connection
.IsGlobalTransaction) {
175
if(!
_connection
.IsGlobalTransactionsEnabledForServer) {
427
SqlInternalConnection connection =
_connection
;
444
SqlInternalConnection connection =
_connection
;
456
bool valid = _active && (connection ==
_connection
) && (connection.DelegatedTransaction == this);
464
if (connection !=
_connection
&& null !=
_connection
) {
465
_connection
.DoomThisConnection();
476
Array.Copy(
_connection
.PromotedDTCToken, _globalTransactionsTokenVersionSizeInBytes /* Skip the version */, txnGuid, 0, txnGuid.Length);