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