Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property DbConnection^ Connection {
	DbConnection^ get();
}

Property Value

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