DataServiceBehavior.IncludeAssociationLinksInResponse Property

Get or sets whether relationship links are included in responses from the data service.

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

Syntax

'Declaration
Public Property IncludeAssociationLinksInResponse As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: System.Boolean
True when relationship links are returned; otherwise false.

Remarks

The default value is false.

See Also

Reference

DataServiceBehavior Class

System.Data.Services Namespace