EntityCommand.Transaction Property

Definition

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

Property Value

The transaction within which the SqlCommand executes.

Applies to