ODataQueryContext Constructor
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
ODataQueryContext(IEdmModel, IEdmType) | Constructs an instance of ODataQueryContext with IEdmModel and element CLR type. |
|
ODataQueryContext(IEdmModel, Type) | Constructs an instance of ODataQueryContext with IEdmModel and element CLR type. |
See Also
ODataQueryContext Class
System.Web.Http.OData Namespace
Return to top
ODataQueryContext Constructor (IEdmModel, IEdmType)
Constructs an instance of ODataQueryContext with IEdmModel and element CLR type.
Syntax
public ODataQueryContext(
IEdmModel model,
IEdmType elementType
)
public:
ODataQueryContext(
IEdmModel^ model,
IEdmType^ elementType
)
new :
model:IEdmModel *
elementType:IEdmType -> ODataQueryContext
Public Sub New (
model As IEdmModel,
elementType As IEdmType
)
Parameters
model
Type: Microsoft.Data.Edm.IEdmModelThe EDM model the given EDM type belongs to.
elementType
Type: Microsoft.Data.Edm.IEdmTypeThe EDM type of the element of the collection being queried.
Return to top
ODataQueryContext Constructor (IEdmModel, Type)
Constructs an instance of ODataQueryContext with IEdmModel and element CLR type.
Syntax
public ODataQueryContext(
IEdmModel model,
Type elementClrType
)
public:
ODataQueryContext(
IEdmModel^ model,
Type^ elementClrType
)
new :
model:IEdmModel *
elementClrType:Type -> ODataQueryContext
Public Sub New (
model As IEdmModel,
elementClrType As Type
)
Parameters
model
Type: Microsoft.Data.Edm.IEdmModelThe EdmModel that includes the IEdmType corresponding to the given elementClrType.
elementClrType
Type: System.TypeThe CLR type of the element of the collection being queried.
Return to top