DataServiceContext.GetLinkDescriptor(Object, String, Object) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene l'oggetto LinkDescriptor per un collegamento specifico che definisce la relazione tra due entità.
public virtual Microsoft.OData.Client.LinkDescriptor GetLinkDescriptor (object source, string sourceProperty, object target);
abstract member GetLinkDescriptor : obj * string * obj -> Microsoft.OData.Client.LinkDescriptor
override this.GetLinkDescriptor : obj * string * obj -> Microsoft.OData.Client.LinkDescriptor
Public Overridable 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
LinkDescriptor Istanza della relazione specificata o Null se non esiste un LinkDescriptor oggetto per la relazione.