IEdmEntityContainer.FindEntitySet Method

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

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

Syntax

'Declaration
Function FindEntitySet ( _
    setName As String _
) As IEdmEntitySet
'Usage
Dim instance As IEdmEntityContainer 
Dim setName As String 
Dim returnValue As IEdmEntitySet 

returnValue = instance.FindEntitySet(setName)
IEdmEntitySet FindEntitySet(
    string setName
)
IEdmEntitySet^ FindEntitySet(
    String^ setName
)
abstract FindEntitySet : 
        setName:string -> IEdmEntitySet
function FindEntitySet(
    setName : String
) : IEdmEntitySet

Parameters

  • setName
    Type: System.String
    The name of the element being found.

Return Value

Type: Microsoft.Data.Edm.IEdmEntitySet
The requested element, or null if the element does not exist.

See Also

Reference

IEdmEntityContainer Interface

Microsoft.Data.Edm Namespace