지정된 queryable 매개 변수에 확장을 적용합니다.
네임스페이스: System.Data.Services
어셈블리: Microsoft.Data.Services(Microsoft.Data.Services.dll)
구문
‘선언
Function ApplyExpansions ( _
queryable As IQueryable, _
expandPaths As ICollection(Of ExpandSegmentCollection) _
) As IEnumerable
‘사용 방법
Dim instance As IExpandProvider
Dim queryable As IQueryable
Dim expandPaths As ICollection(Of ExpandSegmentCollection)
Dim returnValue As IEnumerable
returnValue = instance.ApplyExpansions(queryable, _
expandPaths)
IEnumerable ApplyExpansions(
IQueryable queryable,
ICollection<ExpandSegmentCollection> expandPaths
)
IEnumerable^ ApplyExpansions(
IQueryable^ queryable,
ICollection<ExpandSegmentCollection^>^ expandPaths
)
abstract ApplyExpansions :
queryable:IQueryable *
expandPaths:ICollection<ExpandSegmentCollection> -> IEnumerable
function ApplyExpansions(
queryable : IQueryable,
expandPaths : ICollection<ExpandSegmentCollection>
) : IEnumerable
매개 변수
- queryable
유형: System.Linq.IQueryable
확장할 IQueryable<T> 개체입니다.
- expandPaths
유형: System.Collections.Generic.ICollection<ExpandSegmentCollection>
확장할 ExpandSegmentCollection 경로의 컬렉션입니다.
반환 값
유형: System.Collections.IEnumerable
지정된 expandPaths를 포함하는 제공된 IEnumerable 개체와 동일한 형식의 queryable 개체입니다.
주의
ApplyExpansions 메서드는 포함할 확장을 나타내도록 expandPaths를 수정할 수 있습니다.
반환된 IEnumerable은 확장에 대한 열거 가능한 개체를 제공하도록 IExpandedResult 인터페이스를 구현할 수 있습니다. 그렇지 않으면 열거된 개체에서 확장된 정보를 직접 찾습니다.