共用方式為


EntityCommand.Transaction 屬性

定義

取得或設定 SqlCommand 執行所在的交易。

public:
 property System::Data::EntityClient::EntityTransaction ^ Transaction { System::Data::EntityClient::EntityTransaction ^ get(); void set(System::Data::EntityClient::EntityTransaction ^ value); };
public System.Data.EntityClient.EntityTransaction Transaction { get; set; }
member this.Transaction : System.Data.EntityClient.EntityTransaction with get, set
Public Property Transaction As EntityTransaction

屬性值

SqlCommand 執行的所在交易。

適用於