Syntax

C#
public abstract class AbstractPaginableQuery

The type exposes the following members.

Public Constructors

Public Methods

  NameDescription
Public methodClone
Just a default clone implementation...
(Inherited from ActiveRecordBaseQuery.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
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.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListAll
Public methodObtainCount
Executes a query to return the record count
Public methodPaginate
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.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodAddModifier
Adds a query modifier, to be applied with ApplyModifiers(IQuery).
(Inherited from ActiveRecordBaseQuery.)
Protected methodApplyModifiers
Applies the modifiers added with AddModifier(IQueryModifier).
(Inherited from ActiveRecordBaseQuery.)
Protected methodBuildCountHQL
Protected methodBuildHQL
Should be overriden to return the custom HQL to be ran.
Protected methodCreateQuery (Overrides ActiveRecordBaseQuery..::CreateQuery(ISession).)
Protected methodExecuteQuery
Override to provide a custom query execution. The default behaviour is to just call List()().
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetResultsArrayOverloaded.
Protected methodInternalEnumerate
The implementation of the InternalEnumerate(ISession) method, as required by ActiveRecordBaseQuery. Should not be overriden.
(Overrides ActiveRecordBaseQuery..::InternalEnumerate(ISession).)
Protected methodInternalExecute
The implementation of the InternalExecute(ISession) method, as required by ActiveRecordBaseQuery. Should not be overriden.
(Overrides ActiveRecordBaseQuery..::InternalExecute(ISession).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetQueryParameters
May be overriden, in order to set custom query parameters.

Protected Fields

  NameDescription
Protected fieldcurrentPage
Protected fieldpageSize
Protected fieldqueryModifiers
list of modifiers for the query
(Inherited from ActiveRecordBaseQuery.)

Public Properties

  NameDescription
Public propertyLog
Use the specified logger to output diagnostic messages.
(Inherited from ActiveRecordBaseQuery.)
Public propertyRootType
Gets the target type of this query
(Inherited from ActiveRecordBaseQuery.)

See Also