Syntax
| C# |
|---|
public class ARPaginableSimpleQuery |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| ARPaginableSimpleQueryARPaginableSimpleQueryNew |
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 | (Inherited from AbstractPaginableQuery.) | |
| ObtainCount |
Executes a query to return the record count
(Inherited from AbstractPaginableQuery.) | |
| 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.
(Inherited from AbstractPaginableQuery.) | |
| 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 | (Inherited from AbstractPaginableQuery.) | |
| BuildHQL | (Overrides AbstractPaginableQuery..::BuildHQL()().) | |
| CreateQuery | (Inherited from AbstractPaginableQuery.) | |
| ExecuteQuery |
Override to provide a custom query execution.
The default behaviour is to just call List()().
(Inherited from AbstractPaginableQuery.) | |
| 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.
(Inherited from AbstractPaginableQuery.) | |
| InternalExecute |
The implementation of the InternalExecute(ISession) method,
as required by ActiveRecordBaseQuery.
Should not be overriden.
(Inherited from AbstractPaginableQuery.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetQueryParameters | (Overrides AbstractPaginableQuery..::SetQueryParameters(IQuery).) |
Protected Fields
| Name | Description | |
|---|---|---|
| currentPage | (Inherited from AbstractPaginableQuery.) | |
| pageSize | (Inherited from AbstractPaginableQuery.) | |
| 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.) |