ODataQueryContext Class

 

This defines some context information used to perform query composition.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.ODataQueryContext

Syntax

public class ODataQueryContext
public ref class ODataQueryContext 
type ODataQueryContext = class end
Public Class ODataQueryContext

Constructors

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.

Properties

Name Description
System_CAPS_pubproperty ElementClrType

Gets the CLR type of the element.

System_CAPS_pubproperty ElementType

Gets the IEdmType of the element.

System_CAPS_pubproperty Model

Gets the given IEdmModel that contains the EntitySet.

System_CAPS_pubproperty NavigationSource

Gets the IEdmNavigationSource that contains the element.

System_CAPS_pubproperty Path

Gets the ODataPath.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.OData Namespace

Return to top