The IDetachedQuery type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetExecutableQuery |
Get an executable instance of IQuery,
to actually run the query. | |
| SetAnsiString(Int32, String) |
Bind an instance of a String to an indexed parameter
using an NHibernate AnsiStringType.
| |
| SetAnsiString(String, String) |
Bind an instance of a String to a named parameter
using an NHibernate AnsiStringType.
| |
| SetBinary(Int32, array<Byte>[]()[][]) |
Bind an instance of a Byte array to an indexed parameter
using an NHibernate BinaryType.
| |
| SetBinary(String, array<Byte>[]()[][]) |
Bind an instance of a Byte array to a named parameter
using an NHibernate BinaryType.
| |
| SetBoolean(Int32, Boolean) |
Bind an instance of a Boolean to an indexed parameter
using an NHibernate BooleanType.
| |
| SetBoolean(String, Boolean) |
Bind an instance of a Boolean to a named parameter
using an NHibernate BooleanType.
| |
| SetByte(Int32, Byte) | ||
| SetByte(String, Byte) | ||
| SetCacheable |
Enable caching of this query result set.
| |
| SetCacheMode | Override the current session cache mode, just for this query. | |
| SetCacheRegion | ||
| SetCharacter(Int32, Char) | ||
| SetCharacter(String, Char) | ||
| SetComment | Add a comment to the generated SQL. | |
| SetDateTime(Int32, DateTime) |
Bind an instance of a DateTime to an indexed parameter
using an NHibernate DateTimeType.
| |
| SetDateTime(String, DateTime) |
Bind an instance of a DateTime to a named parameter
using an NHibernate DateTimeType.
| |
| SetDecimal(Int32, Decimal) |
Bind an instance of a Decimal to an indexed parameter
using an NHibernate DecimalType.
| |
| SetDecimal(String, Decimal) |
Bind an instance of a Decimal to a named parameter
using an NHibernate DecimalType.
| |
| SetDouble(Int32, Double) |
Bind an instance of a Double to an indexed parameter
using an NHibernate DoubleType.
| |
| SetDouble(String, Double) |
Bind an instance of a Double to a named parameter
using an NHibernate DoubleType.
| |
| SetEntity(Int32, Object) |
Bind an instance of a mapped persistent class to an indexed parameter.
| |
| SetEntity(String, Object) |
Bind an instance of a mapped persistent class to a named parameter.
| |
| SetEnum(Int32, Enum) |
Bind an instance of a persistent enumeration class to an indexed parameter
using an NHibernate PersistentEnumType.
| |
| SetEnum(String, Enum) |
Bind an instance of a persistent enumeration class to a named parameter
using an NHibernate PersistentEnumType.
| |
| SetFetchSize | Set a fetch size for the underlying ADO query. | |
| SetFirstResult |
Sets the first row to retrieve.
| |
| SetFlushMode |
Override the current session flush mode, just for this query.
| |
| SetGuid(Int32, Guid) | ||
| SetGuid(String, Guid) | ||
| SetIgnoreUknownNamedParameters |
Set the value to ignore unknown parameters names.
| |
| SetInt16(Int32, Int16) | ||
| SetInt16(String, Int16) | ||
| SetInt32(Int32, Int32) | ||
| SetInt32(String, Int32) | ||
| SetInt64(Int32, Int64) | ||
| SetInt64(String, Int64) | ||
| SetLockMode |
Set the lockmode for the objects idententified by the
given alias that appears in the FROM clause.
| |
| SetMaxResults |
Set the maximum number of rows to retrieve.
| |
| SetParameter(Int32, Object) |
Bind a value to an indexed parameter, guessing the Hibernate type from
the class of the given object.
| |
| SetParameter(String, Object) |
Bind a value to a named query parameter, guessing the NHibernate IType
from the class of the given object.
| |
| SetParameter(Int32, Object, IType) |
Bind a value to an indexed parameter.
| |
| 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) | |
| SetProperties |
Bind the property values of the given object to named parameters of the query,
matching property names with parameter names and mapping property types to
Hibernate types using heuristics.
| |
| SetReadOnly |
Entities retrieved by this query will be loaded in
a read-only mode where Hibernate will never dirty-check
them or make changes persistent.
| |
| SetResultTransformer |
Set a strategy for handling the query results. This can be used to change
"shape" of the query result.
| |
| SetSingle(Int32, Single) |
Bind an instance of a Single to an indexed parameter
using an NHibernate SingleType.
| |
| SetSingle(String, Single) |
Bind an instance of a Single to a named parameter
using an NHibernate SingleType.
| |
| SetString(Int32, String) |
Bind an instance of a String to an indexed parameter
using an NHibernate StringType.
| |
| SetString(String, String) |
Bind an instance of a String to a named parameter
using an NHibernate StringType.
| |
| SetTime(Int32, DateTime) |
Bind an instance of a DateTime to an indexed parameter
using an NHibernate DateTimeType.
| |
| SetTime(String, DateTime) |
Bind an instance of a DateTime to a named parameter
using an NHibernate DateTimeType.
| |
| SetTimeout |
The timeout for the underlying ADO query
| |
| SetTimestamp(Int32, DateTime) |
Bind an instance of a DateTime to an indexed parameter
using an NHibernate TimestampType.
| |
| SetTimestamp(String, DateTime) |
Bind an instance of a DateTime to a named parameter
using an NHibernate TimestampType.
|