Share via


DataServiceContext.Entities Property

Definition

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

public virtual System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.OData.Client.EntityDescriptor> Entities { get; }
member this.Entities : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.OData.Client.EntityDescriptor>
Public Overridable ReadOnly Property Entities As ReadOnlyCollection(Of EntityDescriptor)

Property Value

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

Remarks

If no resources are being tracked, a collection with 0 elements is returned.

Applies to