MetadataWorkspace.GetEntityContainer MetadataWorkspace.GetEntityContainer MetadataWorkspace.GetEntityContainer Method

Definition

Returns an EntityContainer object by using the specified entity container name and the data model.

Overloads

GetEntityContainer(String, Boolean, DataSpace) GetEntityContainer(String, Boolean, DataSpace) GetEntityContainer(String, Boolean, DataSpace)

Returns an EntityContainer object by using the specified entity container name and the data model.

GetEntityContainer(String, DataSpace) GetEntityContainer(String, DataSpace) GetEntityContainer(String, DataSpace)

Returns an EntityContainer object by using the specified entity container name and the data model.

GetEntityContainer(String, Boolean, DataSpace) GetEntityContainer(String, Boolean, DataSpace) GetEntityContainer(String, Boolean, DataSpace)

Returns an EntityContainer object by using the specified entity container name and the data model.

public:
 System::Data::Metadata::Edm::EntityContainer ^ GetEntityContainer(System::String ^ name, bool ignoreCase, System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Data.Metadata.Edm.EntityContainer GetEntityContainer (string name, bool ignoreCase, System.Data.Metadata.Edm.DataSpace dataSpace);
member this.GetEntityContainer : string * bool * System.Data.Metadata.Edm.DataSpace -> System.Data.Metadata.Edm.EntityContainer

Parameters

name
String String String

The name of the entity container.

ignoreCase
Boolean Boolean Boolean

true to perform the case-insensitive search; otherwise, false.

dataSpace
DataSpace DataSpace DataSpace

The conceptual model on which the entity container is searched.

Returns

If there is no entity container, this method returns null; otherwise, it returns the first entity container.

GetEntityContainer(String, DataSpace) GetEntityContainer(String, DataSpace) GetEntityContainer(String, DataSpace)

Returns an EntityContainer object by using the specified entity container name and the data model.

public:
 System::Data::Metadata::Edm::EntityContainer ^ GetEntityContainer(System::String ^ name, System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Data.Metadata.Edm.EntityContainer GetEntityContainer (string name, System.Data.Metadata.Edm.DataSpace dataSpace);
member this.GetEntityContainer : string * System.Data.Metadata.Edm.DataSpace -> System.Data.Metadata.Edm.EntityContainer

Parameters

name
String String String

The name of the entity container.

dataSpace
DataSpace DataSpace DataSpace

The conceptual model on which the entity container is searched.

Returns

If there is no entity container, this method returns null; otherwise, it returns the first entity container.

Applies to