DataServiceContext.Entities Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public ReadOnly Property Entities As ReadOnlyCollection(Of EntityDescriptor)
public ReadOnlyCollection<EntityDescriptor> Entities { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<EntityDescriptor>
A list of all the resources currently being tracked by the DataServiceContext.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.