DataServiceBehavior.IncludeAssociationLinksInResponse 属性

获取或设置数据服务的响应中是否包含关系链接。

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

语法

声明
Public Property IncludeAssociationLinksInResponse As Boolean
    Get
    Set
用法
Dim instance As DataServiceBehavior
Dim value As Boolean

value = instance.IncludeAssociationLinksInResponse

instance.IncludeAssociationLinksInResponse = value
public bool IncludeAssociationLinksInResponse { get; set; }
public:
property bool IncludeAssociationLinksInResponse {
    bool get ();
    void set (bool value);
}
member IncludeAssociationLinksInResponse : bool with get, set
function get IncludeAssociationLinksInResponse () : boolean
function set IncludeAssociationLinksInResponse (value : boolean)

属性值

类型:System.Boolean
返回关系链接时为 True;否则为 false。

注释

默认值为 false。

请参阅

参考

DataServiceBehavior 类

System.Data.Services 命名空间