ODataQueryContext Class

This defines some context information used to perform query composition.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.ODataQueryContext

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

Syntax

'Declaration
Public Class ODataQueryContext
'Usage
Dim instance As ODataQueryContext
public class ODataQueryContext
public ref class ODataQueryContext
type ODataQueryContext =  class end
public class ODataQueryContext

The ODataQueryContext type exposes the following members.

Constructors

  Name Description
Public method ODataQueryContext(IEdmModel, IEdmType) Constructs an instance of ODataQueryContext with IEdmModel and element CLR type.
Public method ODataQueryContext(IEdmModel, Type) Constructs an instance of ODataQueryContext with IEdmModel and element CLR type.

Top

Properties

  Name Description
Public property ElementClrType Gets the CLR type of the element.
Public property ElementType Gets the IEdmType of the element.
Public property Model Gets the given IEdmModel that contains the EntitySet.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData Namespace