21 references to TransactionType
System.Data (21)
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (1)
98
_internalTransaction = new SqlInternalTransaction(connection,
TransactionType
.Delegated, null);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (4)
267
_currentTransaction = new SqlInternalTransaction(this,
TransactionType
.Context, null, contextTransactionId);
520
TransactionType
transactionType = (isDistributed) ?
TransactionType
.Distributed :
TransactionType
.LocalFromTSQL;
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (12)
40
private
TransactionType
_transactionType;
53
internal SqlInternalTransaction(SqlInternalConnection innerConnection,
TransactionType
type, SqlTransaction outerTransaction) : this(innerConnection, type, outerTransaction, NullTransactionId) {
56
internal SqlInternalTransaction(SqlInternalConnection innerConnection,
TransactionType
type, SqlTransaction outerTransaction, long transactionId) {
80
bool result = ( (
TransactionType
.LocalFromAPI == _transactionType) ||
81
(
TransactionType
.LocalFromTSQL == _transactionType && _parent != null) );
114
bool result = (
TransactionType
.Context == _transactionType);
121
bool result = (
TransactionType
.Delegated == _transactionType);
128
bool result = (
TransactionType
.Distributed == _transactionType);
135
bool result = (
TransactionType
.LocalFromTSQL == _transactionType
136
||
TransactionType
.LocalFromAPI == _transactionType
137
||
TransactionType
.Context == _transactionType);
151
Debug.Assert(_transactionType ==
TransactionType
.LocalFromTSQL, "invalid state");
fx\src\data\System\Data\SqlClient\SqlTransaction.cs (1)
38
_internalTransaction = new SqlInternalTransaction(internalConnection,
TransactionType
.LocalFromAPI, this);
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
2092
TransactionType
transactionType = (TdsEnums.ENV_BEGINTRAN == env[ii].type) ?
TransactionType
.LocalFromTSQL :
TransactionType
.Distributed;