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