Export (0) Print
Expand All

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)

public DataServiceQuery<TElement> Expand(
	string path
)

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.

Show:
© 2014 Microsoft