The DetachedNamedQuery type exposes the following members.

Constructors

  NameDescription
Public methodDetachedNamedQuery
Create a new instance of DetachedNamedQuery for a named query string defined in the mapping file.

Methods

  NameDescription
Public methodClone
Creates a new DetachedNamedQuery that is a deep copy of the current instance.
Public methodCopyParametersFrom
Clear all existing parameters and copy new parameters from a given origin.
(Inherited from AbstractDetachedQuery.)
Public methodCopyTo
Copy all properties to a given IDetachedQuery.
(Inherited from AbstractDetachedQuery.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetExecutableQuery
Get an executable instance of IQuery, to actually run the query.
(Overrides AbstractDetachedQuery..::..GetExecutableQuery(ISession).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetAnsiString(Int32, String) (Inherited from AbstractDetachedQuery.)
Public methodSetAnsiString(String, String) (Inherited from AbstractDetachedQuery.)
Public methodSetBinary(Int32, array<Byte>[]()[][]) (Inherited from AbstractDetachedQuery.)
Public methodSetBinary(String, array<Byte>[]()[][]) (Inherited from AbstractDetachedQuery.)
Public methodSetBoolean(Int32, Boolean) (Inherited from AbstractDetachedQuery.)
Public methodSetBoolean(String, Boolean) (Inherited from AbstractDetachedQuery.)
Public methodSetByte(Int32, Byte) (Inherited from AbstractDetachedQuery.)
Public methodSetByte(String, Byte) (Inherited from AbstractDetachedQuery.)
Public methodSetCacheable (Overrides AbstractDetachedQuery..::..SetCacheable(Boolean).)
Public methodSetCacheMode (Overrides AbstractDetachedQuery..::..SetCacheMode(CacheMode).)
Public methodSetCacheRegion (Overrides AbstractDetachedQuery..::..SetCacheRegion(String).)
Public methodSetCharacter(Int32, Char) (Inherited from AbstractDetachedQuery.)
Public methodSetCharacter(String, Char) (Inherited from AbstractDetachedQuery.)
Public methodSetComment (Overrides AbstractDetachedQuery..::..SetComment(String).)
Public methodSetDateTime(Int32, DateTime) (Inherited from AbstractDetachedQuery.)
Public methodSetDateTime(String, DateTime) (Inherited from AbstractDetachedQuery.)
Public methodSetDecimal(Int32, Decimal) (Inherited from AbstractDetachedQuery.)
Public methodSetDecimal(String, Decimal) (Inherited from AbstractDetachedQuery.)
Public methodSetDouble(Int32, Double) (Inherited from AbstractDetachedQuery.)
Public methodSetDouble(String, Double) (Inherited from AbstractDetachedQuery.)
Public methodSetEntity(Int32, Object) (Inherited from AbstractDetachedQuery.)
Public methodSetEntity(String, Object) (Inherited from AbstractDetachedQuery.)
Public methodSetEnum(Int32, Enum) (Inherited from AbstractDetachedQuery.)
Public methodSetEnum(String, Enum) (Inherited from AbstractDetachedQuery.)
Public methodSetFetchSize (Overrides AbstractDetachedQuery..::..SetFetchSize(Int32).)
Public methodSetFirstResult (Inherited from AbstractDetachedQuery.)
Public methodSetFlushMode (Overrides AbstractDetachedQuery..::..SetFlushMode(FlushMode).)
Public methodSetGuid(Int32, Guid) (Inherited from AbstractDetachedQuery.)
Public methodSetGuid(String, Guid) (Inherited from AbstractDetachedQuery.)
Public methodSetIgnoreUknownNamedParameters (Inherited from AbstractDetachedQuery.)
Public methodSetInt16(Int32, Int16) (Inherited from AbstractDetachedQuery.)
Public methodSetInt16(String, Int16) (Inherited from AbstractDetachedQuery.)
Public methodSetInt32(Int32, Int32) (Inherited from AbstractDetachedQuery.)
Public methodSetInt32(String, Int32) (Inherited from AbstractDetachedQuery.)
Public methodSetInt64(Int32, Int64) (Inherited from AbstractDetachedQuery.)
Public methodSetInt64(String, Int64) (Inherited from AbstractDetachedQuery.)
Public methodSetLockMode (Inherited from AbstractDetachedQuery.)
Public methodSetMaxResults (Inherited from AbstractDetachedQuery.)
Public methodSetParameter(Int32, Object) (Inherited from AbstractDetachedQuery.)
Public methodSetParameter(String, Object) (Inherited from AbstractDetachedQuery.)
Public methodSetParameter(Int32, Object, IType) (Inherited from AbstractDetachedQuery.)
Public methodSetParameter(String, Object, IType) (Inherited from AbstractDetachedQuery.)
Public methodSetParameterList(String, ICollection) (Inherited from AbstractDetachedQuery.)
Public methodSetParameterList(String, ICollection, IType) (Inherited from AbstractDetachedQuery.)
Public methodSetParametersTo
Set only parameters to a given IDetachedQuery.
(Inherited from AbstractDetachedQuery.)
Public methodSetProperties (Inherited from AbstractDetachedQuery.)
Protected methodSetQueryProperties
Fill all IQuery properties.
(Inherited from AbstractDetachedQuery.)
Public methodSetReadOnly (Overrides AbstractDetachedQuery..::..SetReadOnly(Boolean).)
Public methodSetResultTransformer (Inherited from AbstractDetachedQuery.)
Public methodSetSingle(Int32, Single) (Inherited from AbstractDetachedQuery.)
Public methodSetSingle(String, Single) (Inherited from AbstractDetachedQuery.)
Public methodSetString(Int32, String) (Inherited from AbstractDetachedQuery.)
Public methodSetString(String, String) (Inherited from AbstractDetachedQuery.)
Public methodSetTime(Int32, DateTime) (Inherited from AbstractDetachedQuery.)
Public methodSetTime(String, DateTime) (Inherited from AbstractDetachedQuery.)
Public methodSetTimeout (Overrides AbstractDetachedQuery..::..SetTimeout(Int32).)
Public methodSetTimestamp(Int32, DateTime) (Inherited from AbstractDetachedQuery.)
Public methodSetTimestamp(String, DateTime) (Inherited from AbstractDetachedQuery.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Fields

Properties

  NameDescription
Public propertyQueryName
Get the query name.

See Also