EntityCommand.DbTransaction 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
此命令執行所在的交易
命名空間: System.Data.Entity.Core.EntityClient
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Protected Overrides Property DbTransaction As DbTransaction
Get
Set
'用途
Dim value As DbTransaction
value = Me.DbTransaction
Me.DbTransaction = value
protected override DbTransaction DbTransaction { get; set; }
protected:
virtual property DbTransaction^ DbTransaction {
DbTransaction^ get () override;
void set (DbTransaction^ value) override;
}
abstract DbTransaction : DbTransaction with get, set
override DbTransaction : DbTransaction with get, set
override function get DbTransaction () : DbTransaction
override function set DbTransaction (value : DbTransaction)
屬性值
類型:System.Data.Common.DbTransaction