15 references to NullTransactionId
System.Data (15)
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (2)
461
long transactionId = SqlInternalTransaction.
NullTransactionId
;
530
long transactionId = SqlInternalTransaction.
NullTransactionId
;
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (2)
260
if (SqlInternalTransaction.
NullTransactionId
!= contextTransactionId) {
356
(null != internalTransaction) ? internalTransaction.TransactionId : SqlInternalTransaction.
NullTransactionId
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (2)
53
internal SqlInternalTransaction(SqlInternalConnection innerConnection, TransactionType type, SqlTransaction outerTransaction) : this(innerConnection, type, outerTransaction,
NullTransactionId
) {
202
Debug.Assert(
NullTransactionId
== _transactionId, "setting transaction cookie while one is active?");
fx\src\data\System\Data\SqlClient\TdsParser.cs (9)
164
private long _retainedTransactionId = SqlInternalTransaction.
NullTransactionId
;
2099
_retainedTransactionId = SqlInternalTransaction.
NullTransactionId
;
2107
_retainedTransactionId = SqlInternalTransaction.
NullTransactionId
;
2509
Debug.Assert(env.newLongValue != SqlInternalTransaction.
NullTransactionId
, "New transaction id is null?"); // the server guarantees that zero is an invalid transaction id.
2512
env.newLongValue = SqlInternalTransaction.
NullTransactionId
; // the server guarantees that zero is an invalid transaction id.
2525
Debug.Assert(env.oldLongValue != SqlInternalTransaction.
NullTransactionId
, "Old transaction id is null?"); // the server guarantees that zero is an invalid transaction id.
2528
env.oldLongValue = SqlInternalTransaction.
NullTransactionId
; // the server guarantees that zero is an invalid transaction id.
7865
_retainedTransactionId = SqlInternalTransaction.
NullTransactionId
;
9672
if (null != transaction && SqlInternalTransaction.
NullTransactionId
!= transaction.TransactionId) {