Initializes a new instance of the ObjectContext class with the given connection. During construction, the metadata workspace is extracted from the EntityConnection object.
An EntityConnection that contains references to the model and to the data source connection.
The connection is null.
The connection is invalid.
The metadata workspace is invalid.
ObjectContext OverloadObjectContext ClassSystem.Data.Objects NamespaceIdentity Resolution, State Management, and Change TrackingWorking with Objects