Share via


EntityCommand.Transaction Property

Definition

Gets or sets the transaction within which the SqlCommand executes.

public virtual System.Data.Entity.Core.EntityClient.EntityTransaction Transaction { get; set; }
member this.Transaction : System.Data.Entity.Core.EntityClient.EntityTransaction with get, set
Public Overridable Property Transaction As EntityTransaction

Property Value

The transaction within which the SqlCommand executes.

Applies to