CountQueryOption Class

 

Represents the value of the $count query option and exposes a way to retrieve the number of entities that satisfy a query.

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

System::Object
  System.Web.OData.Query::CountQueryOption

public ref class CountQueryOption 

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

Initializes a new instance of the CountQueryOption class.

NameDescription
System_CAPS_pubpropertyContext

Gets the given ODataQueryContext.

System_CAPS_pubpropertyRawValue

Gets the raw $count value.

System_CAPS_pubpropertyValidator

Gets or sets the $count query validator.

System_CAPS_pubpropertyValue

Gets the value of the $count in a parsed form.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEntityCount(IQueryable^)

Gets the number of entities that satify the given query if the response should include a count query option, or null otherwise.

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 count 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: