TransactionHandler.IsolationLevelGetting 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
可以在衍生類別內實作。
命名空間: System.Data.Entity.Infrastructure
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Overridable Sub IsolationLevelGetting ( _
transaction As DbTransaction, _
interceptionContext As DbTransactionInterceptionContext(Of IsolationLevel) _
)
'用途
Dim instance As TransactionHandler
Dim transaction As DbTransaction
Dim interceptionContext As DbTransactionInterceptionContext(Of IsolationLevel)
instance.IsolationLevelGetting(transaction, _
interceptionContext)
public virtual void IsolationLevelGetting(
DbTransaction transaction,
DbTransactionInterceptionContext<IsolationLevel> interceptionContext
)
public:
virtual void IsolationLevelGetting(
DbTransaction^ transaction,
DbTransactionInterceptionContext<IsolationLevel>^ interceptionContext
)
abstract IsolationLevelGetting :
transaction:DbTransaction *
interceptionContext:DbTransactionInterceptionContext<IsolationLevel> -> unit
override IsolationLevelGetting :
transaction:DbTransaction *
interceptionContext:DbTransactionInterceptionContext<IsolationLevel> -> unit
public function IsolationLevelGetting(
transaction : DbTransaction,
interceptionContext : DbTransactionInterceptionContext<IsolationLevel>
)
參數
- transaction
類型:System.Data.Common.DbTransaction
交易。
- interceptionContext
類型:DbTransactionInterceptionContext<IsolationLevel>
與此呼叫相關聯的內容資訊。
請參閱
參考
System.Data.Entity.Infrastructure 命名空間
IsolationLevelGetting(DbTransaction, DbTransactionInterceptionContextIsolationLevel)