Compartilhar via


EntityContainer.EntitySets Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the collection of EntitySet objects in this EntityContainer.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public ReadOnly Property EntitySets As IEnumerable(Of EntitySet)
    Get
'Usage
Dim instance As EntityContainer
Dim value As IEnumerable(Of EntitySet)

value = instance.EntitySets
public IEnumerable<EntitySet> EntitySets { get; }
public:
property IEnumerable<EntitySet^>^ EntitySets {
    IEnumerable<EntitySet^>^ get ();
}
member EntitySets : IEnumerable<EntitySet>
function get EntitySets () : IEnumerable<EntitySet>

Property Value

Type: System.Collections.Generic.IEnumerable<EntitySet>
The collection of EntitySet objects in this EntityContainer.

See Also

Reference

EntityContainer Class

System.ServiceModel.DomainServices.Client Namespace