Database.Connection Property

Entity Framework 6.0
 

Returns the connection being used by this context. This may cause the connection to be created if it does not already exist.

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

public DbConnection Connection { get; }

Property Value

Type: System.Data.Common.DbConnection
Return to top
Show: