EntityCommand.Transaction 属性
定义
获取或设置 SqlCommand 在其中执行的事务。Gets or sets the transaction within which the SqlCommand executes.
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 的事务。The transaction within which the SqlCommand executes.