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 nell'oggetto source che restituisce l'oggetto correlato.

target
Object

Entità correlata.

Restituisce

Istanza dell'oggetto LinkDescriptor per la relazione specificata oppure null se l'oggetto LinkDescriptor non esiste per la relazione.

Si applica a