Export (0) Print Expand All  Loading Deferred Content (WCF Data
Services)  By default, WCF Data Services limits the amount of
data that a query returns. However, you can explicitly load
additional data, including related entities, paged response
data, and binary data streams, from the data service when it is
needed. This topic describes how to load such deferred content
into your application.  When you execute a query, only entities
in the addressed entity set are returned. For example, when a
query against the Northwind data service returns Customers
entities, by default the related Orders entities are not
returned, even though there is a relationship between Customers
and Orders. Also, when paging is enabled in the data service,
you must explicitly load subsequent data pages from the service.
There are two ways to load related entities:    • Eager loading:
You can use the $expand query option to request that the query
return entities that are related by an association to the entity
set that the query reques