Bewerken

Delen via


MetadataWorkspace.GetEntityContainer Method

Definition

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

Overloads

GetEntityContainer(String, Boolean, DataSpace)

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

GetEntityContainer(String, DataSpace)

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

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
Public Function GetEntityContainer (name As String, ignoreCase As Boolean, dataSpace As DataSpace) As EntityContainer

Parameters

name
String

The name of the entity container.

ignoreCase
Boolean

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

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

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
Public Function GetEntityContainer (name As String, dataSpace As DataSpace) As EntityContainer

Parameters

name
String

The name of the entity container.

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