IExpandProvider.ApplyExpansions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies expansions to the specified queryable
parameter.
public:
System::Collections::IEnumerable ^ ApplyExpansions(System::Linq::IQueryable ^ queryable, System::Collections::Generic::ICollection<System::Data::Services::ExpandSegmentCollection ^> ^ expandPaths);
public System.Collections.IEnumerable ApplyExpansions (System.Linq.IQueryable queryable, System.Collections.Generic.ICollection<System.Data.Services.ExpandSegmentCollection> expandPaths);
abstract member ApplyExpansions : System.Linq.IQueryable * System.Collections.Generic.ICollection<System.Data.Services.ExpandSegmentCollection> -> System.Collections.IEnumerable
Public Function ApplyExpansions (queryable As IQueryable, expandPaths As ICollection(Of ExpandSegmentCollection)) As IEnumerable
Parameters
- queryable
- IQueryable
The IQueryable<T> object to expand.
- expandPaths
- ICollection<ExpandSegmentCollection>
A collection of ExpandSegmentCollection paths to expand.
Returns
An IEnumerable object of the same type as the supplied queryable
object that includes the specified expandPaths
.
Remarks
The ApplyExpansions method may modify the expandPaths
to indicate which expansions are included.
The returned IEnumerable may implement the IExpandedResult interface to provide enumerable objects for the expansions; otherwise, the expanded information is expected to be found directly in the enumerated objects.