Syntax
| C# |
|---|
public abstract class AbstractPaginableQuery |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| AbstractPaginableQueryAbstractPaginableQueryNew |
Public Methods
| Name | Description | |
|---|---|---|
| Clone |
Just a default clone implementation...
(Inherited from ActiveRecordBaseQuery.) | |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ListAll | ||
| ObtainCount |
Executes a query to return the record count
| |
| Paginate |
Returns the page items.
Actually, the implementation just sets the protected fields
pageSize and currentPage,
gets an ISession from SessionFactoryHolder
and calls InternalExecute(ISession) in order to execute
the custom query and fetch only the page items.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| AddModifier |
Adds a query modifier, to be applied with ApplyModifiers(IQuery).
(Inherited from ActiveRecordBaseQuery.) | |
| ApplyModifiers |
Applies the modifiers added with AddModifier(IQueryModifier).
(Inherited from ActiveRecordBaseQuery.) | |
| BuildCountHQL | ||
| BuildHQL |
Should be overriden to return the custom HQL to be ran.
| |
| CreateQuery | (Overrides ActiveRecordBaseQuery..::CreateQuery(ISession).) | |
| ExecuteQuery |
Override to provide a custom query execution.
The default behaviour is to just call List()().
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetResultsArray | Overloaded. | |
| InternalEnumerate |
The implementation of the InternalEnumerate(ISession) method,
as required by ActiveRecordBaseQuery.
Should not be overriden.
(Overrides ActiveRecordBaseQuery..::InternalEnumerate(ISession).) | |
| InternalExecute |
The implementation of the InternalExecute(ISession) method,
as required by ActiveRecordBaseQuery.
Should not be overriden.
(Overrides ActiveRecordBaseQuery..::InternalExecute(ISession).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetQueryParameters |
May be overriden, in order to set custom query parameters.
|
Protected Fields
| Name | Description | |
|---|---|---|
| currentPage | ||
| pageSize | ||
| queryModifiers |
list of modifiers for the query
(Inherited from ActiveRecordBaseQuery.) |
Public Properties
| Name | Description | |
|---|---|---|
| Log |
Use the specified logger to output diagnostic messages.
(Inherited from ActiveRecordBaseQuery.) | |
| RootType |
Gets the target type of this query
(Inherited from ActiveRecordBaseQuery.) |