TopQueryOption Class

 

This defines a $top OData query option for querying.

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

System::Object
  System.Web.OData.Query::TopQueryOption

public ref class TopQueryOption 

NameDescription
System_CAPS_pubmethodTopQueryOption(String^, ODataQueryContext^, ODataQueryOptionParser^)

Initialize a new instance of TopQueryOption based on the raw $top value and an EdmModel from ODataQueryContext.

NameDescription
System_CAPS_pubpropertyContext

Gets the given ODataQueryContext.

System_CAPS_pubpropertyRawValue

Gets the raw $top value.

System_CAPS_pubpropertyValidator

Gets or sets the Top Query Validator.

System_CAPS_pubpropertyValue

Gets the value of the $top as a parsed integer.

NameDescription
System_CAPS_pubmethodApplyTo(IQueryable^, ODataQuerySettings^)

Apply the $top query to the given IQueryable.

System_CAPS_pubmethodApplyTo<T>(IQueryable<T>^, ODataQuerySettings^)

Apply the $top query to the given IQueryable.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(ODataValidationSettings^)

Validate the top query based on the given validationSettings. It throws an ODataException if validation failed.

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

Return to top
Show: