Share via


IDataServiceQueryProvider.GetQueryRootForResourceSet Method

Gets the IQueryable<T> that represents the container.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Function GetQueryRootForResourceSet ( _
    resourceSet As ResourceSet _
) As IQueryable
'Usage
Dim instance As IDataServiceQueryProvider 
Dim resourceSet As ResourceSet 
Dim returnValue As IQueryable 

returnValue = instance.GetQueryRootForResourceSet(resourceSet)
IQueryable GetQueryRootForResourceSet(
    ResourceSet resourceSet
)
IQueryable^ GetQueryRootForResourceSet(
    ResourceSet^ resourceSet
)
abstract GetQueryRootForResourceSet : 
        resourceSet:ResourceSet -> IQueryable
function GetQueryRootForResourceSet(
    resourceSet : ResourceSet
) : IQueryable

Parameters

Return Value

Type: System.Linq.IQueryable
An IQueryable<T> that represents the resource set, or a nulla null reference (Nothing in Visual Basic) value if there is no resource set for the specified resourceSet.

See Also

Reference

IDataServiceQueryProvider Interface

System.Data.Services.Providers Namespace