EdmCoreModel.FindDeclaredEntityContainer Method

Searches for an entity container with the given name in this model and returns null if no such entity container exists.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Function FindDeclaredEntityContainer ( _
    name As String _
) As IEdmEntityContainer
'Usage
Dim instance As EdmCoreModel 
Dim name As String 
Dim returnValue As IEdmEntityContainer 

returnValue = instance.FindDeclaredEntityContainer(name)
public IEdmEntityContainer FindDeclaredEntityContainer(
    string name
)
public:
virtual IEdmEntityContainer^ FindDeclaredEntityContainer(
    String^ name
) sealed
abstract FindDeclaredEntityContainer : 
        name:string -> IEdmEntityContainer  
override FindDeclaredEntityContainer : 
        name:string -> IEdmEntityContainer
public final function FindDeclaredEntityContainer(
    name : String
) : IEdmEntityContainer

Parameters

  • name
    Type: System.String
    The name of the entity container being found.

Return Value

Type: Microsoft.Data.Edm.IEdmEntityContainer
The requested entity container, or null if no such entity container exists.

Implements

IEdmModel.FindDeclaredEntityContainer(String)

See Also

Reference

EdmCoreModel Class

Microsoft.Data.Edm.Library Namespace