CountQueryOption Class
Represents the value of the $count query option and exposes a way to retrieve the number of entities that satisfy a query.
Assembly: System.Web.OData (in System.Web.OData.dll)
| Name | Description | |
|---|---|---|
![]() | CountQueryOption(String^, ODataQueryContext^, ODataQueryOptionParser^) | Initializes a new instance of the CountQueryOption class. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets the given ODataQueryContext. |
![]() | RawValue | Gets the raw $count value. |
![]() | Validator | Gets or sets the $count query validator. |
![]() | Value | Gets the value of the $count in a parsed form. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEntityCount(IQueryable^) | Gets the number of entities that satify the given query if the response should include a count query option, or null otherwise. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Validate(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.


