The IMultiQuery type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add(String) |
Add the specified HQL query to the multi query
| |
Add(IQuery) |
Add the specified HQL query to the multi query
| |
Add(String, IQuery) |
Add the specified HQL query to the multi query, and associate it with the given key
| |
Add(String, String) |
Add the specified HQL Query to the multi query, and associate it with the given key
| |
Add(Type, IQuery) |
Adds the specified query to the query. The result will be contained in a List<(Of <(<'T>)>)> | |
Add<(Of <<'(T>)>>)(String) |
Add the specified HQL query to the multi query. The result will be contained in a List<(Of <(<'T>)>)> | |
Add<(Of <<'(T>)>>)(IQuery) |
Add the specified HQL query to the multi query. The result will be contained in a List<(Of <(<'T>)>)> | |
Add<(Of <<'(T>)>>)(String, IQuery) |
Add the specified HQL query to the multi query, and associate it with the given key. The result will be contained in a List<(Of <(<'T>)>)> | |
Add<(Of <<'(T>)>>)(String, String) |
Add the specified HQL Query to the multi query, and associate it with the given key. The result will be contained in a List<(Of <(<'T>)>)> | |
AddNamedQuery(String) |
Add a named query to the multi query
| |
AddNamedQuery(String, String) |
Add a named query to the multi query, and associate it with the given key
| |
AddNamedQuery<(Of <<'(T>)>>)(String) |
Add a named query to the multi query. The result will be contained in a List<(Of <(<'T>)>)> | |
AddNamedQuery<(Of <<'(T>)>>)(String, String) |
Add a named query to the multi query, and associate it with the given key. The result will be contained in a List<(Of <(<'T>)>)> | |
GetResult |
Returns the result of one of the query based on the key
| |
List |
Get all the results
| |
SetAnsiString |
Bind an instance of a String to a named parameter
using an NHibernate AnsiStringType.
| |
SetBinary |
Bind an instance of a Byte array to a named parameter
using an NHibernate BinaryType.
| |
SetBoolean |
Bind an instance of a Boolean to a named parameter
using an NHibernate BooleanType.
| |
SetByte | ||
SetCacheable |
Enable caching of this query result set.
| |
SetCacheRegion | ||
SetCharacter | ||
SetDateTime |
Bind an instance of a DateTime to a named parameter
using an NHibernate DateTimeType.
| |
SetDateTime2 | ||
SetDateTimeOffset | ||
SetDecimal |
Bind an instance of a Decimal to a named parameter
using an NHibernate DecimalType.
| |
SetDouble |
Bind an instance of a Double to a named parameter
using an NHibernate DoubleType.
| |
SetEntity |
Bind an instance of a mapped persistent class to a named parameter.
| |
SetEnum |
Bind an instance of a persistent enumeration class to a named parameter
using an NHibernate PersistentEnumType.
| |
SetFlushMode |
Override the current session flush mode, just for this query.
| |
SetForceCacheRefresh | ||
SetGuid | ||
SetInt16 | ||
SetInt32 | ||
SetInt64 | ||
SetParameter(String, Object) |
Bind a value to a named query parameter, guessing the NHibernate IType
from the class of the given object.
| |
SetParameter(String, Object, IType) |
Bind a value to a named query parameter
| |
SetParameterList(String, ICollection) |
Bind multiple values to a named query parameter, guessing the Hibernate
type from the class of the first object in the collection. This is useful for binding a list
of values to an expression such as foo.bar in (:value_list) | |
SetParameterList(String, ICollection, IType) |
Bind multiple values to a named query parameter. This is useful for binding a list
of values to an expression such as foo.bar in (:value_list) | |
SetResultTransformer |
Set a strategy for handling the query results. This can be used to change
"shape" of the query result.
| |
SetSingle |
Bind an instance of a Single to a named parameter
using an NHibernate SingleType.
| |
SetString |
Bind an instance of a String to a named parameter
using an NHibernate StringType.
| |
SetTime |
Bind an instance of a DateTime to a named parameter
using an NHibernate DateTimeType.
| |
SetTimeAsTimeSpan | ||
SetTimeout |
The timeout for the underlying ADO query
| |
SetTimeSpan | ||
SetTimestamp |
Bind an instance of a DateTime to a named parameter
using an NHibernate TimestampType.
|