EntityCommand.Connection Property

 

Gets or sets the EntityConnection used by the EntityCommand .

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual EntityConnection Connection { get; set; }

Property Value

Type: System.Data.Entity.Core.EntityClient.EntityConnection

The connection used by the entity command.