ODataQueryContext Constructor
Namespace: System.Web.OData
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
ODataQueryContext(IEdmModel, IEdmType, ODataPath) | Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath. |
![]() |
ODataQueryContext(IEdmModel, Type, ODataPath) | Constructs an instance of ODataQueryContext with IEdmModel, element CLR type, and ODataPath. |
See Also
ODataQueryContext Class
System.Web.OData Namespace
Return to top
ODataQueryContext Constructor (IEdmModel, IEdmType, ODataPath)
Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath.
Syntax
public ODataQueryContext(
IEdmModel model,
IEdmType elementType,
ODataPath path
)
public:
ODataQueryContext(
IEdmModel^ model,
IEdmType^ elementType,
ODataPath^ path
)
new :
model:IEdmModel *
elementType:IEdmType *
path:ODataPath -> ODataQueryContext
Public Sub New (
model As IEdmModel,
elementType As IEdmType,
path As ODataPath
)
Parameters
model
Type: Microsoft.OData.Edm.IEdmModelThe EDM model the given EDM type belongs to.
elementType
Type: Microsoft.OData.Edm.IEdmTypeThe EDM type of the element of the collection being queried.
path
Type: System.Web.OData.Routing.ODataPathThe parsed ODataPath.
Return to top
ODataQueryContext Constructor (IEdmModel, Type, ODataPath)
Constructs an instance of ODataQueryContext with IEdmModel, element CLR type, and ODataPath.
Syntax
public ODataQueryContext(
IEdmModel model,
Type elementClrType,
ODataPath path
)
public:
ODataQueryContext(
IEdmModel^ model,
Type^ elementClrType,
ODataPath^ path
)
new :
model:IEdmModel *
elementClrType:Type *
path:ODataPath -> ODataQueryContext
Public Sub New (
model As IEdmModel,
elementClrType As Type,
path As ODataPath
)
Parameters
model
Type: Microsoft.OData.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.
path
Type: System.Web.OData.Routing.ODataPathThe parsed ODataPath.
Return to top