46 references to IsolationLevel
netstandard (1)
netstandard.cs (1)
2177
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Transactions.
IsolationLevel
))]
System.Transactions (1)
System.Transactions.cs (1)
18
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Transactions.
IsolationLevel
))]
System.Transactions.Local (44)
System\Transactions\CommittableTransaction.cs (1)
30
internal CommittableTransaction(
IsolationLevel
isoLevel, TimeSpan timeout) : base(isoLevel, (InternalTransaction?)null)
System\Transactions\DependentTransaction.cs (1)
14
internal DependentTransaction(
IsolationLevel
isoLevel, InternalTransaction internalTransaction, bool blocking) :
System\Transactions\Oletx\OletxTransaction.cs (2)
462
public virtual
IsolationLevel
IsolationLevel
478
internal
IsolationLevel
TransactionIsolationLevel { get; private set; }
System\Transactions\Oletx\OletxTransactionManager.cs (17)
13
private readonly
IsolationLevel
_isolationLevelProperty;
432
if (
IsolationLevel
.Unspecified == properties.IsolationLevel)
643
internal static OletxTransactionIsolationLevel ConvertIsolationLevel(
IsolationLevel
isolationLevel)
646
IsolationLevel
.Serializable => OletxTransactionIsolationLevel.ISOLATIONLEVEL_SERIALIZABLE,
647
IsolationLevel
.RepeatableRead => OletxTransactionIsolationLevel.ISOLATIONLEVEL_REPEATABLEREAD,
648
IsolationLevel
.ReadCommitted => OletxTransactionIsolationLevel.ISOLATIONLEVEL_READCOMMITTED,
649
IsolationLevel
.ReadUncommitted => OletxTransactionIsolationLevel.ISOLATIONLEVEL_READUNCOMMITTED,
650
IsolationLevel
.Chaos => OletxTransactionIsolationLevel.ISOLATIONLEVEL_CHAOS,
651
IsolationLevel
.Unspecified => OletxTransactionIsolationLevel.ISOLATIONLEVEL_UNSPECIFIED,
655
internal static
IsolationLevel
ConvertIsolationLevelFromProxyValue(OletxTransactionIsolationLevel proxyIsolationLevel)
658
OletxTransactionIsolationLevel.ISOLATIONLEVEL_SERIALIZABLE =>
IsolationLevel
.Serializable,
659
OletxTransactionIsolationLevel.ISOLATIONLEVEL_REPEATABLEREAD =>
IsolationLevel
.RepeatableRead,
660
OletxTransactionIsolationLevel.ISOLATIONLEVEL_READCOMMITTED =>
IsolationLevel
.ReadCommitted,
661
OletxTransactionIsolationLevel.ISOLATIONLEVEL_READUNCOMMITTED =>
IsolationLevel
.ReadUncommitted,
662
OletxTransactionIsolationLevel.ISOLATIONLEVEL_UNSPECIFIED =>
IsolationLevel
.Unspecified,
663
OletxTransactionIsolationLevel.ISOLATIONLEVEL_CHAOS =>
IsolationLevel
.Chaos,
664
_ =>
IsolationLevel
.Serializable
System\Transactions\SubordinateTransaction.cs (1)
10
public SubordinateTransaction(
IsolationLevel
isoLevel, ISimpleTransactionSuperior superior) : base(isoLevel, superior)
System\Transactions\Transaction.cs (6)
214
internal
IsolationLevel
_isoLevel;
254
internal Transaction(
IsolationLevel
isoLevel, InternalTransaction? internalTransaction)
261
if (
IsolationLevel
.Unspecified == _isoLevel)
286
internal Transaction(
IsolationLevel
isoLevel, ISimpleTransactionSuperior superior)
294
if (
IsolationLevel
.Unspecified == _isoLevel)
377
public
IsolationLevel
IsolationLevel
System\Transactions\TransactionManager.cs (10)
267
internal static
IsolationLevel
DefaultIsolationLevel
278
return
IsolationLevel
.Serializable;
504
internal static void ValidateIsolationLevel(
IsolationLevel
transactionIsolationLevel)
508
case
IsolationLevel
.Serializable:
509
case
IsolationLevel
.RepeatableRead:
510
case
IsolationLevel
.ReadCommitted:
511
case
IsolationLevel
.ReadUncommitted:
512
case
IsolationLevel
.Unspecified:
513
case
IsolationLevel
.Chaos:
514
case
IsolationLevel
.Snapshot:
System\Transactions\TransactionOptions.cs (2)
11
private
IsolationLevel
_isolationLevel;
19
public
IsolationLevel
IsolationLevel
System\Transactions\TransactionScope.cs (2)
213
if ((
IsolationLevel
.Unspecified != transactionOptions.IsolationLevel) && (_expectedCurrent.IsolationLevel != transactionOptions.IsolationLevel))
295
if ((
IsolationLevel
.Unspecified != transactionOptions.IsolationLevel) && (_expectedCurrent.IsolationLevel != transactionOptions.IsolationLevel))
System\Transactions\TransactionState.cs (2)
2149
if (tx._outcomeSource._isoLevel ==
IsolationLevel
.Snapshot)
3251
if (tx._outcomeSource._isoLevel ==
IsolationLevel
.Snapshot)