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.

ObjectContext::Connection Property

Entity Framework 6.0
 

Gets the connection used by the object context.

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

public:
property DbConnection^ Connection {
	virtual DbConnection^ get();
}

Property Value

Type: System.Data.Common::DbConnection^

A DbConnection object that is the connection.

Return to top
Show: