Syntax

C#
public class ARPaginableSimpleQuery

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 (Inherited from AbstractPaginableQuery.)
Public methodObtainCount
Executes a query to return the record count
(Inherited from AbstractPaginableQuery.)
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.
(Inherited from AbstractPaginableQuery.)
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 (Inherited from AbstractPaginableQuery.)
Protected methodBuildHQL (Overrides AbstractPaginableQuery..::BuildHQL()().)
Protected methodCreateQuery (Inherited from AbstractPaginableQuery.)
Protected methodExecuteQuery
Override to provide a custom query execution. The default behaviour is to just call List()().
(Inherited from AbstractPaginableQuery.)
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.
(Inherited from AbstractPaginableQuery.)
Protected methodInternalExecute
The implementation of the InternalExecute(ISession) method, as required by ActiveRecordBaseQuery. Should not be overriden.
(Inherited from AbstractPaginableQuery.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetQueryParameters (Overrides AbstractPaginableQuery..::SetQueryParameters(IQuery).)

Protected Fields

  NameDescription
Protected fieldcurrentPage (Inherited from AbstractPaginableQuery.)
Protected fieldpageSize (Inherited from AbstractPaginableQuery.)
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