SALES: 1-800-867-1380
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext.GetLinkDescriptor Method

Gets the LinkDescriptor for a specific link that defines the relationship between two entities.

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

public LinkDescriptor GetLinkDescriptor(
	Object source,
	string sourceProperty,
	Object target


Type: System.Object
Source object in the link
Type: System.String
The name of the navigation property on the source object that returns the related object.
Type: System.Object
The related entity.

Return Value

Type: System.Data.Services.Client.LinkDescriptor
The LinkDescriptor instance for the specified relationship, or null if a LinkDescriptor does not exist for the relationship.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft