CountQueryOption Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the value of the $count query option and exposes a way to retrieve the number of entities that satisfy a query.
public class CountQueryOption
type CountQueryOption = class
Public Class CountQueryOption
- Inheritance
-
CountQueryOption
Constructors
CountQueryOption(String, ODataQueryContext, ODataQueryOptionParser) |
Initializes a new instance of the CountQueryOption class. |
Properties
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. |
Methods
GetEntityCount(IQueryable) |
Gets the number of entities that satisfy the given query if the response should include a count query option, or |
Validate(ODataValidationSettings) |
Validate the count query based on the given |