ExtensionMethods.EntitySets Method
Gets the entity sets of the specified container.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function EntitySets ( _
container As IEdmEntityContainer _
) As IEnumerable(Of IEdmEntitySet)
'Usage
Dim container As IEdmEntityContainer
Dim returnValue As IEnumerable(Of IEdmEntitySet)
returnValue = container.EntitySets()
public static IEnumerable<IEdmEntitySet> EntitySets(
this IEdmEntityContainer container
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmEntitySet^>^ EntitySets(
IEdmEntityContainer^ container
)
static member EntitySets :
container:IEdmEntityContainer -> IEnumerable<IEdmEntitySet>
public static function EntitySets(
container : IEdmEntityContainer
) : IEnumerable<IEdmEntitySet>
Parameters
- container
Type: Microsoft.Data.Edm.IEdmEntityContainer
The entity container.
Return Value
Type: System.Collections.Generic.IEnumerable<IEdmEntitySet>
The entity sets.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmEntityContainer. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).