Class QueryOptions
Represents options for querying
public class QueryOptions
- Inheritance
-
QueryOptions
- Derived
- Inherited Members
Constructors
QueryOptions(int, int?)
public QueryOptions(int skip, int? take = null)
Parameters
Fields
DefaultMaxResults
The default maximum ammount of results
public const int DefaultMaxResults = 500
Field Value
Properties
Default
Creates a default QueryOptions
public static QueryOptions Default { get; }
Property Value
Skip
The number of documents to skip in the result set.
public int Skip { get; }
Property Value
Take
The number of documents to take in the result set.
public int Take { get; }
Property Value
Methods
SkipTake(int, int?)
Creates a QueryOptions with the specified parameters
public static QueryOptions SkipTake(int skip, int? take = null)