19 references to TransactionState
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (6)
70
_connection.TransactionEnded(transactionId,
TransactionState
.Committed);
77
_connection.TransactionEnded(transactionId,
TransactionState
.Unknown);
91
_connection.TransactionEndedByServer(transactionId,
TransactionState
.Unknown);
100
_connection.TransactionEndedByServer(transactionId,
TransactionState
.Aborted);
475
private void TransactionEndedByServer(long transactionId,
TransactionState
transactionState) {
490
private void TransactionEnded(long transactionId,
TransactionState
transactionState) {
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (10)
39
private
TransactionState
_transactionState;
88
return (
TransactionState
.Aborted == _transactionState);
94
return (
TransactionState
.Active == _transactionState);
100
return (
TransactionState
.Committed == _transactionState);
106
return (
TransactionState
.Aborted == _transactionState
107
||
TransactionState
.Committed == _transactionState
108
||
TransactionState
.Unknown == _transactionState);
208
_transactionState =
TransactionState
.Active;
298
internal void Completed(
TransactionState
transactionState) {
299
Debug.Assert (
TransactionState
.Active < transactionState, "invalid transaction completion state?");
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
2121
_currentTransaction.Completed(
TransactionState
.Committed);
2130
_currentTransaction.Completed(
TransactionState
.Aborted);
2134
_currentTransaction.Completed(
TransactionState
.Unknown);