DataServiceQuery<TElement>.Expand Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Expand<TTarget>(Expression<Func<TElement, TTarget>>) Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy.
Public method Expand(String) Expands a query to include entities from a related entity set in the query response.

Top

Remarks

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

See Also

Reference

DataServiceQuery<TElement> Class

System.Data.Services.Client Namespace