CommitFailureHandler.TransactionContext 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得交易內容。
命名空間: System.Data.Entity.Infrastructure
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Protected Friend Property TransactionContext As TransactionContext
Get
Private Set
'用途
Dim value As TransactionContext
value = Me.TransactionContext
protected internal TransactionContext TransactionContext { get; private set; }
protected public:
property TransactionContext^ TransactionContext {
TransactionContext^ get ();
private: void set (TransactionContext^ value);
}
member TransactionContext : TransactionContext with get, private set
function get TransactionContext () : TransactionContext
private function set TransactionContext (value : TransactionContext)
屬性值
類型:System.Data.Entity.Infrastructure.TransactionContext
交易內容。