Share via


ItemCollection.GetEntityContainer Method

Definition

Overloads

GetEntityContainer(String)

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

GetEntityContainer(String, Boolean)

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

GetEntityContainer(String)

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

public System.Data.Entity.Core.Metadata.Edm.EntityContainer GetEntityContainer (string name);
member this.GetEntityContainer : string -> System.Data.Entity.Core.Metadata.Edm.EntityContainer
Public Function GetEntityContainer (name As String) As EntityContainer

Parameters

name
String

The name of the entity container.

Returns

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

Applies to

GetEntityContainer(String, Boolean)

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

public System.Data.Entity.Core.Metadata.Edm.EntityContainer GetEntityContainer (string name, bool ignoreCase);
member this.GetEntityContainer : string * bool -> System.Data.Entity.Core.Metadata.Edm.EntityContainer
Public Function GetEntityContainer (name As String, ignoreCase As Boolean) As EntityContainer

Parameters

name
String

The name of the entity container.

ignoreCase
Boolean

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

Returns

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

Applies to