Syntax

C#
public class CountQuery

The type exposes the following members.

Public Constructors

  NameDescription
Public methodCountQueryCountQueryNewOverloaded.

Public Methods

  NameDescription
Public methodAddSqlReturnDefinition
Adds a SQL query return definition. See CreateSQLQuery(String, array<String>[](), array<Type>[]()) for more information.
(Inherited from HqlBasedQuery.)
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 methodSetParameterOverloaded.
Public methodSetParameterListOverloaded.
Public methodSetQueryRangeOverloaded.
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 methodCreateQuery
Creates the IQuery instance.
(Inherited from HqlBasedQuery.)
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
Simply creates the query and then call its Enumerable()() method. Note: Only use when you expect most of the results to be in the second level cache
(Inherited from ActiveRecordBaseQuery.)
Protected methodInternalExecute
Executes the query.
(Overrides ActiveRecordBaseQuery..::InternalExecute(ISession).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Protected Fields

  NameDescription
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 propertyQuery
The query text.
(Inherited from HqlBasedQuery.)
Public propertyRootType
Gets the target type of this query
(Inherited from ActiveRecordBaseQuery.)

See Also