2 overrides of CurrentTransaction
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
145
override internal SqlInternalTransaction
CurrentTransaction
{
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
545
override internal SqlInternalTransaction
CurrentTransaction
{
13 references to CurrentTransaction
System.Data (13)
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (1)
103
if (null == connection.
CurrentTransaction
)
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (11)
89
return
CurrentTransaction
;
112
SqlInternalTransaction currentTransaction =
CurrentTransaction
;
120
SqlInternalTransaction currentTransaction =
CurrentTransaction
;
463
if (null !=
CurrentTransaction
) {
464
transactionId =
CurrentTransaction
.TransactionId;
465
transactionObjectID =
CurrentTransaction
.ObjectID;
532
if (null !=
CurrentTransaction
) {
533
transactionId =
CurrentTransaction
.TransactionId;
534
transactionObjectID =
CurrentTransaction
.ObjectID;
556
Debug.Assert(!IsYukonOrNewer || null !=
CurrentTransaction
, "delegated/enlisted transaction with null current transaction?");
592
Debug.Assert(!IsYukonOrNewer || null ==
CurrentTransaction
, "unenlisted transaction with non-null current transaction?"); // verify it!
fx\src\data\System\Data\SqlClient\SqlTransaction.cs (1)
41
Debug.Assert(internalConnection.
CurrentTransaction
== internalTransaction, "Unexpected Parser.CurrentTransaction state!");