70 references to IsolationLevel
netstandard (1)
netstandard.cs (1)
549[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.IsolationLevel))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
115[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.IsolationLevel))]
System.Data.Common (11)
System\Data\Common\DbConnection.cs (8)
51protected abstract DbTransaction BeginDbTransaction(IsolationLevel isolationLevel); 54BeginDbTransaction(IsolationLevel.Unspecified); 56public DbTransaction BeginTransaction(IsolationLevel isolationLevel) 62BeginDbTransaction(IsolationLevel.Unspecified); 64IDbTransaction IDbConnection.BeginTransaction(IsolationLevel isolationLevel) => 67protected virtual ValueTask<DbTransaction> BeginDbTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) 85=> BeginDbTransactionAsync(IsolationLevel.Unspecified, cancellationToken); 87public ValueTask<DbTransaction> BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken = default)
System\Data\Common\DbTransaction.cs (1)
19public abstract IsolationLevel IsolationLevel { get; }
System\Data\IDbConnection.cs (1)
16IDbTransaction BeginTransaction(IsolationLevel il);
System\Data\IDbTransaction.cs (1)
9IsolationLevel IsolationLevel { get; }
System.Data.Odbc (53)
Common\System\Data\Common\AdapterUtil.Odbc.cs (9)
121internal static ArgumentOutOfRangeException InvalidIsolationLevel(IsolationLevel value) 126case IsolationLevel.Unspecified: 127case IsolationLevel.Chaos: 128case IsolationLevel.ReadUncommitted: 129case IsolationLevel.ReadCommitted: 130case IsolationLevel.RepeatableRead: 131case IsolationLevel.Serializable: 132case IsolationLevel.Snapshot: 137return InvalidEnumerationValue(typeof(IsolationLevel), (int)value);
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionClosed.cs (1)
19public override DbTransaction BeginTransaction(IsolationLevel il) => throw ADP.ClosedConnectionError();
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionInternal.cs (1)
185public abstract DbTransaction BeginTransaction(IsolationLevel il);
System\Data\Odbc\Odbc32.cs (9)
56internal static ArgumentOutOfRangeException NotSupportedIsolationLevel(IsolationLevel value) 61case IsolationLevel.Unspecified: 62case IsolationLevel.ReadUncommitted: 63case IsolationLevel.ReadCommitted: 64case IsolationLevel.RepeatableRead: 65case IsolationLevel.Serializable: 66case IsolationLevel.Snapshot: 69case IsolationLevel.Chaos: 76return ODBC.NotSupportedEnumerationValue(typeof(IsolationLevel), (int)value);
System\Data\Odbc\OdbcConnection.cs (11)
288return BeginTransaction(IsolationLevel.Unspecified); 291public new OdbcTransaction BeginTransaction(IsolationLevel isolevel) 883protected override DbTransaction BeginDbTransaction(IsolationLevel isolationLevel) 896internal OdbcTransaction Open_BeginTransaction(IsolationLevel isolevel) 910case IsolationLevel.Unspecified: 911case IsolationLevel.ReadUncommitted: 912case IsolationLevel.ReadCommitted: 913case IsolationLevel.RepeatableRead: 914case IsolationLevel.Serializable: 915case IsolationLevel.Snapshot: 917case IsolationLevel.Chaos:
System\Data\Odbc\OdbcConnectionHandle.cs (9)
77internal ODBC32.SQLRETURN BeginTransaction(ref IsolationLevel isolevel) 81if (IsolationLevel.Unspecified != isolevel) 86case IsolationLevel.ReadUncommitted: 90case IsolationLevel.ReadCommitted: 94case IsolationLevel.RepeatableRead: 98case IsolationLevel.Serializable: 102case IsolationLevel.Snapshot: 107case IsolationLevel.Chaos: 123isolevel = IsolationLevel.Unspecified;
System\Data\Odbc\OdbcConnectionOpen.cs (2)
45public override DbTransaction BeginTransaction(IsolationLevel isolevel) 50internal OdbcTransaction BeginOdbcTransaction(IsolationLevel isolevel)
System\Data\Odbc\OdbcTransaction.cs (11)
11private IsolationLevel _isolevel = IsolationLevel.Unspecified; 14internal OdbcTransaction(OdbcConnection connection, IsolationLevel isolevel, OdbcConnectionHandle handle) 37public override IsolationLevel IsolationLevel 50if (IsolationLevel.Unspecified == _isolevel) 56ODBC32.SQL_TRANSACTION.READ_UNCOMMITTED => IsolationLevel.ReadUncommitted, 57ODBC32.SQL_TRANSACTION.READ_COMMITTED => IsolationLevel.ReadCommitted, 58ODBC32.SQL_TRANSACTION.REPEATABLE_READ => IsolationLevel.RepeatableRead, 59ODBC32.SQL_TRANSACTION.SERIALIZABLE => IsolationLevel.Serializable, 60ODBC32.SQL_TRANSACTION.SNAPSHOT => IsolationLevel.Snapshot, 137_isolevel = IsolationLevel.Unspecified;
System.Data.OleDb (4)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (4)
109protected override System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 111public new System.Data.OleDb.OleDbTransaction BeginTransaction(System.Data.IsolationLevel isolationLevel) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 485public override System.Data.IsolationLevel IsolationLevel { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } } 487public System.Data.OleDb.OleDbTransaction Begin(System.Data.IsolationLevel isolevel) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }