다음을 통해 공유


IExpandProvider.ApplyExpansions 메서드

지정된 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

매개 변수

반환 값

유형: System.Collections.IEnumerable
지정된 expandPaths를 포함하는 제공된 IEnumerable 개체와 동일한 형식의 queryable 개체입니다.

주의

ApplyExpansions 메서드는 포함할 확장을 나타내도록 expandPaths를 수정할 수 있습니다.

반환된 IEnumerable은 확장에 대한 열거 가능한 개체를 제공하도록 IExpandedResult 인터페이스를 구현할 수 있습니다. 그렇지 않으면 열거된 개체에서 확장된 정보를 직접 찾습니다.

참고 항목

참조

IExpandProvider 인터페이스

System.Data.Services 네임스페이스