Syntax
| C# |
|---|
public class ScalarQuery |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| ScalarQueryScalarQueryNew | Overloaded. |
Public Methods
| Name | Description | |
|---|---|---|
| AddSqlReturnDefinition |
Adds a SQL query return definition.
See CreateSQLQuery(String, array<String>[](), array<Type>[]()) for more information.
(Inherited from HqlBasedQuery.) | |
| 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.
(Inherited from HqlBasedQuery.) | |
| 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 |
Creates a single-position object array containing
the query's scalar result.
(Overrides ActiveRecordBaseQuery..::InternalEnumerate(ISession).) | |
| InternalExecute |
Executes the query and returns its scalar result.
(Overrides ActiveRecordBaseQuery..::InternalExecute(ISession).) | |
| 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.
(Inherited from HqlBasedQuery.) | |
| RootType |
Gets the target type of this query
(Inherited from ActiveRecordBaseQuery.) |
See Also
Castle.ActiveRecord.Queries Namespace