The IDetachedQuery type exposes the following members.

Methods

  NameDescription
Public methodGetExecutableQuery
Get an executable instance of IQuery, to actually run the query.
Public methodSetAnsiString(Int32, String)
Bind an instance of a String to an indexed parameter using an NHibernate AnsiStringType.
Public methodSetAnsiString(String, String)
Bind an instance of a String to a named parameter using an NHibernate AnsiStringType.
Public methodSetBinary(Int32, array<Byte>[]()[][])
Bind an instance of a Byte array to an indexed parameter using an NHibernate BinaryType.
Public methodSetBinary(String, array<Byte>[]()[][])
Bind an instance of a Byte array to a named parameter using an NHibernate BinaryType.
Public methodSetBoolean(Int32, Boolean)
Bind an instance of a Boolean to an indexed parameter using an NHibernate BooleanType.
Public methodSetBoolean(String, Boolean)
Bind an instance of a Boolean to a named parameter using an NHibernate BooleanType.
Public methodSetByte(Int32, Byte)
Bind an instance of a Byte to an indexed parameter using an NHibernate ByteType.
Public methodSetByte(String, Byte)
Bind an instance of a Byte to a named parameter using an NHibernate ByteType.
Public methodSetCacheable
Enable caching of this query result set.
Public methodSetCacheMode
Override the current session cache mode, just for this query.
Public methodSetCacheRegion
Public methodSetCharacter(Int32, Char)
Bind an instance of a Char to an indexed parameter using an NHibernate CharType.
Public methodSetCharacter(String, Char)
Bind an instance of a Char to a named parameter using an NHibernate CharType.
Public methodSetComment
Add a comment to the generated SQL.
Public methodSetDateTime(Int32, DateTime)
Bind an instance of a DateTime to an indexed parameter using an NHibernate DateTimeType.
Public methodSetDateTime(String, DateTime)
Bind an instance of a DateTime to a named parameter using an NHibernate DateTimeType.
Public methodSetDecimal(Int32, Decimal)
Bind an instance of a Decimal to an indexed parameter using an NHibernate DecimalType.
Public methodSetDecimal(String, Decimal)
Bind an instance of a Decimal to a named parameter using an NHibernate DecimalType.
Public methodSetDouble(Int32, Double)
Bind an instance of a Double to an indexed parameter using an NHibernate DoubleType.
Public methodSetDouble(String, Double)
Bind an instance of a Double to a named parameter using an NHibernate DoubleType.
Public methodSetEntity(Int32, Object)
Bind an instance of a mapped persistent class to an indexed parameter.
Public methodSetEntity(String, Object)
Bind an instance of a mapped persistent class to a named parameter.
Public methodSetEnum(Int32, Enum)
Bind an instance of a persistent enumeration class to an indexed parameter using an NHibernate PersistentEnumType.
Public methodSetEnum(String, Enum)
Bind an instance of a persistent enumeration class to a named parameter using an NHibernate PersistentEnumType.
Public methodSetFetchSize
Set a fetch size for the underlying ADO query.
Public methodSetFirstResult
Sets the first row to retrieve.
Public methodSetFlushMode
Override the current session flush mode, just for this query.
Public methodSetGuid(Int32, Guid)
Bind an instance of a Guid to a named parameter using an NHibernate GuidType.
Public methodSetGuid(String, Guid)
Bind an instance of a Guid to a named parameter using an NHibernate GuidType.
Public methodSetIgnoreUknownNamedParameters
Set the value to ignore unknown parameters names.
Public methodSetInt16(Int32, Int16)
Bind an instance of a Int16 to an indexed parameter using an NHibernate Int16Type.
Public methodSetInt16(String, Int16)
Bind an instance of a Int16 to a named parameter using an NHibernate Int16Type.
Public methodSetInt32(Int32, Int32)
Bind an instance of a Int32 to an indexed parameter using an NHibernate Int32Type.
Public methodSetInt32(String, Int32)
Bind an instance of a Int32 to a named parameter using an NHibernate Int32Type.
Public methodSetInt64(Int32, Int64)
Bind an instance of a Int64 to an indexed parameter using an NHibernate Int64Type.
Public methodSetInt64(String, Int64)
Bind an instance of a Int64 to a named parameter using an NHibernate Int64Type.
Public methodSetLockMode
Set the lockmode for the objects idententified by the given alias that appears in the FROM clause.
Public methodSetMaxResults
Set the maximum number of rows to retrieve.
Public methodSetParameter(Int32, Object)
Bind a value to an indexed parameter, guessing the Hibernate type from the class of the given object.
Public methodSetParameter(String, Object)
Bind a value to a named query parameter, guessing the NHibernate IType from the class of the given object.
Public methodSetParameter(Int32, Object, IType)
Bind a value to an indexed parameter.
Public methodSetParameter(String, Object, IType)
Bind a value to a named query parameter
Public methodSetParameterList(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)
Public methodSetParameterList(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)
Public methodSetProperties
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.
Public methodSetReadOnly
Entities retrieved by this query will be loaded in a read-only mode where Hibernate will never dirty-check them or make changes persistent.
Public methodSetResultTransformer
Set a strategy for handling the query results. This can be used to change "shape" of the query result.
Public methodSetSingle(Int32, Single)
Bind an instance of a Single to an indexed parameter using an NHibernate SingleType.
Public methodSetSingle(String, Single)
Bind an instance of a Single to a named parameter using an NHibernate SingleType.
Public methodSetString(Int32, String)
Bind an instance of a String to an indexed parameter using an NHibernate StringType.
Public methodSetString(String, String)
Bind an instance of a String to a named parameter using an NHibernate StringType.
Public methodSetTime(Int32, DateTime)
Bind an instance of a DateTime to an indexed parameter using an NHibernate DateTimeType.
Public methodSetTime(String, DateTime)
Bind an instance of a DateTime to a named parameter using an NHibernate DateTimeType.
Public methodSetTimeout
The timeout for the underlying ADO query
Public methodSetTimestamp(Int32, DateTime)
Bind an instance of a DateTime to an indexed parameter using an NHibernate TimestampType.
Public methodSetTimestamp(String, DateTime)
Bind an instance of a DateTime to a named parameter using an NHibernate TimestampType.

See Also