Share via


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

Syntax

'Declaration
Public Overridable Function FindEntitySet ( _
    setName As String _
) As IEdmEntitySet
'Usage
Dim instance As EdmEntityContainer 
Dim setName As String 
Dim returnValue As IEdmEntitySet 

returnValue = instance.FindEntitySet(setName)
public virtual IEdmEntitySet FindEntitySet(
    string setName
)
public:
virtual IEdmEntitySet^ FindEntitySet(
    String^ setName
)
abstract FindEntitySet : 
        setName:string -> IEdmEntitySet  
override FindEntitySet : 
        setName:string -> IEdmEntitySet
public 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.

Implements

IEdmEntityContainer.FindEntitySet(String)

See Also

Reference

EdmEntityContainer Class

Microsoft.Data.Edm.Library Namespace