DataServiceContext.GetLinkDescriptor(Object, String, Object) Método

Definición

Obtiene el LinkDescriptor de un vínculo concreto que define la relación entre dos entidades.

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

Parámetros

source
Object

Objeto de origen en el vínculo.

sourceProperty
String

Nombre de la propiedad de navegación del objeto source que devuelve el objeto relacionado.

target
Object

Entidad relacionada.

Devoluciones

Instancia de LinkDescriptor para la relación especificada o null si no existe ningún descriptor LinkDescriptor para la relación.

Se aplica a