Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceQuery(TElement).Expand Method (String)

Expands a query to include entities from a related entity set in the query response.

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

member Expand : 
        path:string -> DataServiceQuery<'TElement> 

Parameters

path
Type: System.String
The expand path in the format Orders/Order_Details.

Return Value

Type: System.Data.Services.Client.DataServiceQuery(TElement)
A new query that includes the requested $expand query option appended to the URI of the supplied query.

The Expand(String) method creates a new DataServiceQuery(TElement) with the expand option set in the URI generated by the returned query.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft