40 references to TransactionRequest
System.Data (40)
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (4)
100
connection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Begin, null, _isolationLevel, _internalTransaction, true);
166
connection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Promote, null, IsolationLevel.Unspecified, _internalTransaction, true);
257
connection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Rollback, null, IsolationLevel.Unspecified, _internalTransaction, true);
352
connection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Commit, null, IsolationLevel.Unspecified, _internalTransaction, true);
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (2)
221
ExecuteTransaction(
TransactionRequest
.Begin, transactionName, iso, transaction.InternalTransaction, false);
658
abstract internal void ExecuteTransaction(
TransactionRequest
transactionRequest, string name, IsolationLevel iso, SqlInternalTransaction internalTransaction, bool isDelegateControlRequest);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (7)
344
TransactionRequest
transactionRequest,
360
case
TransactionRequest
.Begin:
373
case
TransactionRequest
.Commit:
379
case
TransactionRequest
.Promote:
384
case
TransactionRequest
.Rollback:
385
case
TransactionRequest
.IfRollback:
390
case
TransactionRequest
.Save:
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (22)
931
internal void ExecuteTransaction(
TransactionRequest
transactionRequest, string name, IsolationLevel iso) {
935
override internal void ExecuteTransaction(
TransactionRequest
transactionRequest, string name, IsolationLevel iso, SqlInternalTransaction internalTransaction, bool isDelegateControlRequest) {
937
if (transactionRequest ==
TransactionRequest
.Rollback
938
|| transactionRequest ==
TransactionRequest
.IfRollback) {
944
if (transactionRequest ==
TransactionRequest
.Commit
945
|| transactionRequest ==
TransactionRequest
.Rollback
946
|| transactionRequest ==
TransactionRequest
.IfRollback) {
964
TransactionRequest
transactionRequest,
1004
case
TransactionRequest
.Begin:
1008
case
TransactionRequest
.Promote:
1011
case
TransactionRequest
.Commit:
1015
case
TransactionRequest
.Rollback:
1019
case
TransactionRequest
.IfRollback:
1023
case
TransactionRequest
.Save:
1040
if (
TransactionRequest
.Begin == transactionRequest) {
1048
TransactionRequest
transactionRequest,
1094
case
TransactionRequest
.Begin:
1097
case
TransactionRequest
.Promote:
1100
case
TransactionRequest
.Commit:
1103
case
TransactionRequest
.IfRollback:
1107
case
TransactionRequest
.Rollback:
1110
case
TransactionRequest
.Save:
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (5)
237
innerConnection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.IfRollback, null, IsolationLevel.Unspecified, null, false);
270
_innerConnection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Commit, null, IsolationLevel.Unspecified, null, false);
378
_innerConnection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.IfRollback, null, IsolationLevel.Unspecified, null, false);
423
_innerConnection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Rollback, transactionName, IsolationLevel.Unspecified, null, false);
462
_innerConnection.ExecuteTransaction(SqlInternalConnection.
TransactionRequest
.Save, savePointName, IsolationLevel.Unspecified, null, false);