Bagikan melalui


IEdmModel.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
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

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

returnValue = instance.FindDeclaredEntityContainer(name)
IEdmEntityContainer FindDeclaredEntityContainer(
    string name
)
IEdmEntityContainer^ FindDeclaredEntityContainer(
    String^ name
)
abstract FindDeclaredEntityContainer : 
        name:string -> IEdmEntityContainer
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.

See Also

Reference

IEdmModel Interface

Microsoft.Data.Edm Namespace