Share via


ODataQueryContext Constructor

 

Namespace:   System.Web.OData
Assembly:  System.Web.OData (in System.Web.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod ODataQueryContext(IEdmModel, IEdmType, ODataPath)

Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath.

System_CAPS_pubmethod 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

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

  • elementClrType
    Type: System.Type

    The CLR type of the element of the collection being queried.

Return to top