127 references to IsolationLevel
System.Data (118)
fx\src\data\Microsoft\SqlServer\Server\SmiConnection.cs (1)
59
IsolationLevel
level,
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
520
static internal ArgumentOutOfRangeException InvalidIsolationLevel(
IsolationLevel
value) {
534
return InvalidEnumerationValue(typeof(
IsolationLevel
), (int) value);
fx\src\data\System\Data\Common\DBConnection.cs (5)
108
abstract protected DbTransaction BeginDbTransaction(
IsolationLevel
isolationLevel);
111
return BeginDbTransaction(
IsolationLevel
.Unspecified);
114
public DbTransaction BeginTransaction(
IsolationLevel
isolationLevel) {
119
return BeginDbTransaction(
IsolationLevel
.Unspecified);
122
IDbTransaction IDbConnection.BeginTransaction(
IsolationLevel
isolationLevel) {
fx\src\data\System\Data\Common\DbTransaction.cs (1)
34
abstract public
IsolationLevel
IsolationLevel {
fx\src\data\System\Data\IDbConnection.cs (1)
33
IDbTransaction BeginTransaction(
IsolationLevel
il);
fx\src\data\System\Data\IDbTransaction.cs (1)
18
IsolationLevel
IsolationLevel {
fx\src\data\System\Data\Odbc\Odbc32.cs (2)
59
static internal ArgumentOutOfRangeException NotSupportedIsolationLevel(
IsolationLevel
value) {
77
return ODBC.NotSupportedEnumerationValue(typeof(
IsolationLevel
), (int)value);
fx\src\data\System\Data\Odbc\OdbcConnection.cs (11)
265
return BeginTransaction(
IsolationLevel
.Unspecified);
268
new public OdbcTransaction BeginTransaction(
IsolationLevel
isolevel) {
768
override protected DbTransaction BeginDbTransaction(
IsolationLevel
isolationLevel) {
789
internal OdbcTransaction Open_BeginTransaction(
IsolationLevel
isolevel) {
802
case
IsolationLevel
.Unspecified:
803
case
IsolationLevel
.ReadUncommitted:
804
case
IsolationLevel
.ReadCommitted:
805
case
IsolationLevel
.RepeatableRead:
806
case
IsolationLevel
.Serializable:
807
case
IsolationLevel
.Snapshot:
809
case
IsolationLevel
.Chaos:
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (9)
85
internal ODBC32.RetCode BeginTransaction(ref
IsolationLevel
isolevel) {
88
if(
IsolationLevel
.Unspecified != isolevel) {
91
case
IsolationLevel
.ReadUncommitted:
95
case
IsolationLevel
.ReadCommitted:
99
case
IsolationLevel
.RepeatableRead:
103
case
IsolationLevel
.Serializable:
107
case
IsolationLevel
.Snapshot:
112
case
IsolationLevel
.Chaos:
127
isolevel =
IsolationLevel
.Unspecified;
fx\src\data\System\Data\Odbc\OdbcConnectionOpen.cs (2)
60
override public DbTransaction BeginTransaction(
IsolationLevel
isolevel) {
64
internal OdbcTransaction BeginOdbcTransaction(
IsolationLevel
isolevel) {
fx\src\data\System\Data\Odbc\OdbcTransaction.cs (11)
18
private
IsolationLevel
_isolevel =
IsolationLevel
.Unspecified;
21
internal OdbcTransaction(OdbcConnection connection,
IsolationLevel
isolevel, OdbcConnectionHandle handle) {
41
override public
IsolationLevel
IsolationLevel {
51
if(
IsolationLevel
.Unspecified == _isolevel) {
56
_isolevel =
IsolationLevel
.ReadUncommitted;
59
_isolevel =
IsolationLevel
.ReadCommitted;
62
_isolevel =
IsolationLevel
.RepeatableRead;
65
_isolevel =
IsolationLevel
.Serializable;
68
_isolevel =
IsolationLevel
.Snapshot;
136
_isolevel =
IsolationLevel
.Unspecified;
fx\src\data\System\Data\OleDb\OleDbConnection.cs (3)
313
return BeginTransaction(
IsolationLevel
.Unspecified);
316
new public OleDbTransaction BeginTransaction(
IsolationLevel
isolationLevel) {
372
override protected DbTransaction BeginDbTransaction(
IsolationLevel
isolationLevel) {
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (2)
244
override public DbTransaction BeginTransaction(
IsolationLevel
isolationLevel) {
329
transactionJoin.Value.JoinTransaction(oleTxTransaction, (int)
IsolationLevel
.Unspecified, 0, IntPtr.Zero);
fx\src\data\System\Data\OleDb\OleDbTransaction.cs (13)
23
private readonly System.Data.
IsolationLevel
_isolationLevel;
115
internal OleDbTransaction(OleDbConnection connection, OleDbTransaction transaction,
IsolationLevel
isolevel) {
122
case
IsolationLevel
.Unspecified: // OLE DB doesn't support this isolevel on local transactions
123
isolevel =
IsolationLevel
.ReadCommitted;
125
case
IsolationLevel
.Chaos:
126
case
IsolationLevel
.ReadUncommitted:
127
case
IsolationLevel
.ReadCommitted:
128
case
IsolationLevel
.RepeatableRead:
129
case
IsolationLevel
.Serializable:
130
case
IsolationLevel
.Snapshot:
150
override public
IsolationLevel
IsolationLevel {
171
public OleDbTransaction Begin(
IsolationLevel
isolevel) {
206
return Begin(
IsolationLevel
.ReadCommitted);
fx\src\data\System\Data\ProviderBase\DbConnectionClosed.cs (1)
37
override public DbTransaction BeginTransaction(
IsolationLevel
il) {
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (1)
372
abstract public DbTransaction BeginTransaction(
IsolationLevel
il);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (5)
915
return BeginTransaction(
IsolationLevel
.Unspecified, null);
918
new public SqlTransaction BeginTransaction(
IsolationLevel
iso) {
928
return BeginTransaction(
IsolationLevel
.Unspecified, transactionName);
933
override protected DbTransaction BeginDbTransaction(
IsolationLevel
isolationLevel) {
954
public SqlTransaction BeginTransaction(
IsolationLevel
iso, string transactionName) {
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (9)
37
private
IsolationLevel
_isolationLevel; // the IsolationLevel of the transaction we delegated to the server
59
case SysTx.IsolationLevel.ReadCommitted: _isolationLevel =
IsolationLevel
.ReadCommitted; break;
60
case SysTx.IsolationLevel.ReadUncommitted: _isolationLevel =
IsolationLevel
.ReadUncommitted; break;
61
case SysTx.IsolationLevel.RepeatableRead: _isolationLevel =
IsolationLevel
.RepeatableRead; break;
62
case SysTx.IsolationLevel.Serializable: _isolationLevel =
IsolationLevel
.Serializable; break;
63
case SysTx.IsolationLevel.Snapshot: _isolationLevel =
IsolationLevel
.Snapshot; break;
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 (5)
187
override public DbTransaction BeginTransaction(
IsolationLevel
iso) {
191
virtual internal SqlTransaction BeginSqlTransaction(
IsolationLevel
iso, string transactionName, bool shouldReconnect) {
215
if (iso ==
IsolationLevel
.Unspecified) {
216
iso =
IsolationLevel
.ReadCommitted; // Default to ReadCommitted if unspecified.
658
abstract internal void ExecuteTransaction(TransactionRequest transactionRequest, string name,
IsolationLevel
iso, SqlInternalTransaction internalTransaction, bool isDelegateControlRequest);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
346
IsolationLevel
iso,
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (19)
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) {
966
IsolationLevel
iso,
971
case
IsolationLevel
.Unspecified:
973
case
IsolationLevel
.ReadCommitted:
977
case
IsolationLevel
.ReadUncommitted:
981
case
IsolationLevel
.RepeatableRead:
985
case
IsolationLevel
.Serializable:
989
case
IsolationLevel
.Snapshot:
990
throw SQL.SnapshotNotSupported(
IsolationLevel
.Snapshot);
992
case
IsolationLevel
.Chaos:
1050
IsolationLevel
iso,
1057
case
IsolationLevel
.Unspecified:
1060
case
IsolationLevel
.ReadCommitted:
1063
case
IsolationLevel
.ReadUncommitted:
1066
case
IsolationLevel
.RepeatableRead:
1069
case
IsolationLevel
.Serializable:
1072
case
IsolationLevel
.Snapshot:
1075
case
IsolationLevel
.Chaos:
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);
fx\src\data\System\Data\SqlClient\SqlTransaction.cs (4)
23
internal readonly
IsolationLevel
_isolationLevel =
IsolationLevel
.ReadCommitted;
31
IsolationLevel
iso, SqlInternalTransaction internalTransaction) {
74
override public
IsolationLevel
IsolationLevel {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (4)
255
static internal Exception SnapshotNotSupported(
IsolationLevel
level) {
256
return ADP.Argument(Res.GetString(Res.SQL_SnapshotNotSupported, typeof(
IsolationLevel
), level.ToString()));
400
static internal ArgumentOutOfRangeException NotSupportedIsolationLevel(
IsolationLevel
value) {
418
return NotSupportedEnumerationValue(typeof(
IsolationLevel
), (int)value);
System.Data.Entity (3)
System\Data\EntityClient\EntityConnection.cs (2)
682
public new EntityTransaction BeginTransaction(
IsolationLevel
isolationLevel)
692
protected override DbTransaction BeginDbTransaction(
IsolationLevel
isolationLevel)
System\Data\EntityClient\EntityTransaction.cs (1)
66
public override
IsolationLevel
IsolationLevel
System.Data.Linq (1)
DataContext.cs (1)
507
transaction = this.provider.Connection.BeginTransaction(
IsolationLevel
.ReadCommitted);
System.Workflow.Runtime (5)
Tracking\SqlTrackingService.cs (5)
961
localTransaction = connection.BeginTransaction(System.Data.
IsolationLevel
.ReadCommitted);
1166
tx = conn.BeginTransaction(System.Data.
IsolationLevel
.ReadCommitted);
1342
tx = conn.BeginTransaction(System.Data.
IsolationLevel
.ReadCommitted);
1486
tx = conn.BeginTransaction(System.Data.
IsolationLevel
.ReadCommitted);
1656
tx = conn.BeginTransaction(System.Data.
IsolationLevel
.ReadCommitted);