Export (0) Print
Expand All

DataServiceContext.GetLinkDescriptor Method

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

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

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

Parameters

source
Type: System.Object
Source object in the link
sourceProperty
Type: System.String
The name of the navigation property on the source object that returns the related object.
target
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.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft