ODataQueryContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
ODataQueryContext(IEdmModel, IEdmType, ODataPath)
Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath.
public ODataQueryContext (Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmType elementType, Microsoft.AspNet.OData.Routing.ODataPath path);
new Microsoft.AspNet.OData.ODataQueryContext : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmType * Microsoft.AspNet.OData.Routing.ODataPath -> Microsoft.AspNet.OData.ODataQueryContext
Public Sub New (model As IEdmModel, elementType As IEdmType, path As ODataPath)
Parameters
- model
- IEdmModel
The EDM model the given EDM type belongs to.
- elementType
- IEdmType
The EDM type of the element of the collection being queried.
Applies to
ODataQueryContext(IEdmModel, Type, ODataPath)
Constructs an instance of ODataQueryContext with IEdmModel, element CLR type, and ODataPath.
public ODataQueryContext (Microsoft.OData.Edm.IEdmModel model, Type elementClrType, Microsoft.AspNet.OData.Routing.ODataPath path);
new Microsoft.AspNet.OData.ODataQueryContext : Microsoft.OData.Edm.IEdmModel * Type * Microsoft.AspNet.OData.Routing.ODataPath -> Microsoft.AspNet.OData.ODataQueryContext
Public Sub New (model As IEdmModel, elementClrType As Type, path As ODataPath)
Parameters
- elementClrType
- Type
The CLR type of the element of the collection being queried.
Remarks
This is a public constructor used for stand-alone scenario; in this case, the services container may not be present.