Share via


DataServiceContext.Links Property

Definition

Gets the collection of all associations or links currently being tracked by the DataServiceContext object.

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

Property Value

A collection of LinkDescriptor objects that represent all associations or links current being tracked by the current being tracked by the DataServiceContext object.

Remarks

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

Applies to