Share via


ODataQueryContext Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod ODataQueryContext(IEdmModel, IEdmType)

Constructs an instance of ODataQueryContext with IEdmModel and element CLR type.

System_CAPS_pubmethod 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

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

  • elementClrType
    Type: System.Type

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

Return to top