This documentation is archived and is not being maintained.

DataServiceContext.Entities Property

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Show: