Class QueryParameter<T>
Represents a query parameter used for filtering and sorting data.
public class QueryParameter<T> : IQueryParameter, ICloneable where T : class
Type Parameters
T
The type of the entity.
- Inheritance
-
QueryParameter<T>
- Implements
- Derived
- Extension Methods
Constructors
- QueryParameter()
Initializes a new instance of the QueryParameter<T> class.
- QueryParameter(PrimaryKeys<T>)
Initializes a new instance of the QueryParameter<T> class with the specified primary keys.
- QueryParameter(Expression<Func<T, bool>>)
Initializes a new instance of the QueryParameter<T> class with the specified where expression.
Properties
- OrderBy
Gets or sets the order by expression.
- PrimaryKeys
Gets or sets the list of primary keys.
- SearchQuery
Gets or sets the search query.
- Skip
Gets or sets the number of items to skip.
- Take
Gets or sets the number of items to take.
- Where
Gets or sets the where expression.
Methods
- Clone()
Creates a new object that is a copy of the current instance.