Share via


DataServiceContext.ResolveEntitySet 属性

获取或设置委托方法,以便使用该方法在无法根据编辑链接或自身链接 URI 来确定值的情况下解析实体集 URI。

命名空间:  System.Data.Services.Client
程序集:  Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)

语法

声明
Public Property ResolveEntitySet As Func(Of String, Uri)
    Get
    Set
用法
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>)

属性值

类型:System.Func<String, Uri>
委托的 [System.Func`2] 值,该委托使用 String 并返回 Uri 值。

请参阅

参考

DataServiceContext 类

System.Data.Services.Client 命名空间