IQuery Interface |
Namespace: WeroSoft.Querying
public interface IQuery
The IQuery type exposes the following members.
Name | Description | |
---|---|---|
DefaultSortDefinition |
Gets or sets the sort definition used for default sorting.
| |
DefaultSortOrderName |
Gets or sets the name of the property used for default sorting.
| |
OrderClauses |
Gets the order clause.
| |
QueriedType |
Gets the type the query belongs to.
| |
WhereClauses |
Gets the where clauses.
|
Name | Description | |
---|---|---|
And |
Adds an where clause logically joining the defined where clauses using an AND operation.
| |
Contains |
Adds a where clause determining whether the accessors' value instance contains a specified string.
| |
EndsWith |
Adds a where clause determining whether the ending of the accessors' value instance matches a specified string.
| |
IsEqual |
Adds a where clause comparing the accessor to equality.
| |
IsGreaterThan |
Adds a where clause determining whether the accessors' value instance is greater than the specified value.
| |
IsGreaterThanOrEqual |
Adds a where clause determining whether the accessors' value instance is greater than or equal to the specified value.
| |
IsLessThan |
Adds a where clause determining whether the accessors' value instance is less than the specified value.
| |
IsLessThanOrEqual |
Adds a where clause determining whether the accessors' value instance is less than or equal to the specified value.
| |
IsNotEqual |
Adds a where clause comparing the accessor to inequality.
| |
Like |
Adds a where clause determining automatically the given value for wild-cards.
| |
Or |
Adds an where clause logically joining the defined where clauses using an OR operation.
| |
OrderBy(IEnumerableSearchSortDefinition) |
Adds a collection of sort criteria to the query.
| |
OrderBy(String) |
Adds sort order criterion to the query.
| |
OrderBy(String, SortDefinition) |
Adds sort order criterion to the query.
| |
StartsWith |
Adds a where clause determining whether the beginning of the accessors' value instance matches a specified string.
| |
ThenBy(String) |
Adds sort order criterion to the query.
| |
ThenBy(String, SortDefinition) |
Adds sort order criterion to the query.
| |
ToStatement |
Transforms a query to a statement.
|