Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:   System.Web.OData
Assembly:  System.Web.OData (in System.Web.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | ODataQueryContext(IEdmModel, IEdmType, ODataPath) | Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath. | 
| .jpeg) | 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.IEdmModel- The EDM model the given EDM type belongs to. 
- elementType 
 Type: Microsoft.OData.Edm.IEdmType- The EDM type of the element of the collection being queried. 
- path 
 Type: System.Web.OData.Routing.ODataPath- The 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.IEdmModel- The EdmModel that includes the IEdmType corresponding to the given elementClrType. 
- elementClrType 
 Type: System.Type- The CLR type of the element of the collection being queried. 
- path 
 Type: System.Web.OData.Routing.ODataPath- The parsed ODataPath. 
Return to top