Language

IExpandProvider.ApplyExpansions メソッド

定義

指定した queryable パラメーターに拡張を適用します。

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

パラメーター

queryable
IQueryable

展開する IQueryable<T> オブジェクト。

expandPaths
ICollection<ExpandSegmentCollection>

展開する ExpandSegmentCollection パスのコレクション。

返品

指定したIEnumerableを含む指定したqueryable オブジェクトと同じ型のexpandPaths オブジェクト。

注釈

ApplyExpansionsメソッドは、どの拡張が含まれるかを示すためにexpandPathsを変更できます。

返される IEnumerable は、拡張に列挙可能なオブジェクトを提供する IExpandedResult インターフェイスを実装できます。それ以外の場合は、展開された情報が列挙オブジェクト内で直接見つかると想定されます。

適用対象