EntityFrameworkDataServiceProvider.GetQueryRootForResourceSet Method
Returns the IQueryable that represents the resource set.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Overridable Function GetQueryRootForResourceSet ( _
resourceSet As ResourceSet _
) As IQueryable
'Usage
Dim instance As EntityFrameworkDataServiceProvider
Dim resourceSet As ResourceSet
Dim returnValue As IQueryable
returnValue = instance.GetQueryRootForResourceSet(resourceSet)
public virtual IQueryable GetQueryRootForResourceSet(
ResourceSet resourceSet
)
public:
virtual IQueryable^ GetQueryRootForResourceSet(
ResourceSet^ resourceSet
)
abstract GetQueryRootForResourceSet :
resourceSet:ResourceSet -> IQueryable
override GetQueryRootForResourceSet :
resourceSet:ResourceSet -> IQueryable
public function GetQueryRootForResourceSet(
resourceSet : ResourceSet
) : IQueryable
Parameters
- resourceSet
Type: System.Data.Services.Providers.ResourceSet
resource set representing the entity set.
Return Value
Type: System.Linq.IQueryable
An IQueryable that represents the set; null if there is no set for the specified name.
Implements
IDataServiceQueryProvider.GetQueryRootForResourceSet(ResourceSet)