DataServiceContext.GetLinkDescriptor(Object, String, Object) Metodo

Definizione

Ottiene l'oggetto LinkDescriptor per un collegamento specifico che definisce la relazione tra due entità.

public:
 System::Data::Services::Client::LinkDescriptor ^ GetLinkDescriptor(System::Object ^ source, System::String ^ sourceProperty, System::Object ^ target);
public System.Data.Services.Client.LinkDescriptor GetLinkDescriptor(object source, string sourceProperty, object target);
member this.GetLinkDescriptor : obj * string * obj -> System.Data.Services.Client.LinkDescriptor
Public Function GetLinkDescriptor (source As Object, sourceProperty As String, target As Object) As LinkDescriptor

Parametri

source
Object

Oggetto di origine nel collegamento.

sourceProperty
String

Nome della proprietà di navigazione sull'oggetto source che restituisce l'oggetto correlato.

target
Object

Entità correlata.

Valori restituiti

LinkDescriptor Istanza della relazione specificata o null se non esiste un LinkDescriptor oggetto per la relazione.

Si applica a