Syntax
| C# |
|---|
public class HqlBasedQuery |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| HqlBasedQueryHqlBasedQueryNew | Overloaded. |
Public Methods
| Name | Description | |
|---|---|---|
| AddSqlReturnDefinition |
Adds a SQL query return definition.
See CreateSQLQuery(String, array<String>[](), array<Type>[]()) for more information.
| |
| 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.) | |
| SetParameter | Overloaded. | |
| SetParameterList | Overloaded. | |
| SetQueryRange | Overloaded. | |
| 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.) | |
| CreateQuery |
Creates the IQuery instance.
(Overrides ActiveRecordBaseQuery..::CreateQuery(ISession).) | |
| 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 |
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.) | |
| InternalExecute |
Simply creates the query and then call its List()() method.
(Inherited from ActiveRecordBaseQuery.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Protected Fields
| Name | Description | |
|---|---|---|
| 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.) | |
| Query |
The query text.
| |
| RootType |
Gets the target type of this query
(Inherited from ActiveRecordBaseQuery.) |
See Also
Castle.ActiveRecord.Queries Namespace