DataServiceContext.Entities Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a list of all the resources currently being tracked by the DataServiceContext.

Namespace:   System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public ReadOnlyCollection<EntityDescriptor> Entities { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<EntityDescriptor>

A list of EntityDescriptor objects that represent all the resources currently being tracked by the DataServiceContext.

If no resources are being tracked, a list that has zero elements is returned.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: