EntityFrameworkDataServiceProvider.GetResource Method
Gets the resource of the given type that the query points to
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Overridable Function GetResource ( _
query As IQueryable, _
fullTypeName As String _
) As Object
'Usage
Dim instance As EntityFrameworkDataServiceProvider
Dim query As IQueryable
Dim fullTypeName As String
Dim returnValue As Object
returnValue = instance.GetResource(query, _
fullTypeName)
public virtual Object GetResource(
IQueryable query,
string fullTypeName
)
public:
virtual Object^ GetResource(
IQueryable^ query,
String^ fullTypeName
)
abstract GetResource :
query:IQueryable *
fullTypeName:string -> Object
override GetResource :
query:IQueryable *
fullTypeName:string -> Object
public function GetResource(
query : IQueryable,
fullTypeName : String
) : Object
Parameters
- query
Type: System.Linq.IQueryable
query pointing to a particular resource
- fullTypeName
Type: System.String
full type name i.e. Namespace qualified type name of the resource
Return Value
Type: System.Object
object representing a resource of given type and as referenced by the query
Implements
IUpdatable.GetResource(IQueryable, String)