Share via


EntityCommand.Connection Property

Definition

Gets or sets the EntityConnection used by the EntityCommand .

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

Property Value

The connection used by the entity command.

Applies to