Udostępnij za pośrednictwem


DataServiceContext.ResolveEntitySet Property

Gets or sets the delegate method that is used to resolve the entity set URI when the value cannot be determined from an edit-link or self-link URI.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Property ResolveEntitySet As Func(Of String, Uri)
    Get 
    Set
'Usage
Dim instance As DataServiceContext 
Dim value As Func(Of String, Uri)

value = instance.ResolveEntitySet

instance.ResolveEntitySet = value
public Func<string, Uri> ResolveEntitySet { get; set; }
public:
property Func<String^, Uri^>^ ResolveEntitySet {
    Func<String^, Uri^>^ get ();
    void set (Func<String^, Uri^>^ value);
}
member ResolveEntitySet : Func<string, Uri> with get, set
function get ResolveEntitySet () : Func<String, Uri>
function set ResolveEntitySet (value : Func<String, Uri>)

Property Value

Type: System.Func<String, Uri>
A [System.Func`2] value that is a delegate that takes a String and returns a Uri value.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace