DataServiceContext.GetLinkDescriptor(Object, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the LinkDescriptor for a specific link that defines the relationship between two entities.
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
Parameters
- source
- Object
Source object in the link.
- sourceProperty
- String
The name of the navigation property on the source
object that returns the related object.
- target
- Object
The related entity.
Returns
The LinkDescriptor instance for the specified relationship, or null
if a LinkDescriptor does not exist for the relationship.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.