Base class to create queries in "detached mode" where the NHibernate session is not available.
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
[SerializableAttribute] public abstract class AbstractDetachedQuery : IDetachedQuery, IDetachedQueryImplementor |
Visual Basic |
---|
<SerializableAttribute> _ Public MustInherit Class AbstractDetachedQuery _ Implements IDetachedQuery, IDetachedQueryImplementor |
Visual C++ |
---|
[SerializableAttribute] public ref class AbstractDetachedQuery abstract : IDetachedQuery, IDetachedQueryImplementor |
Remarks
The behaviour of each method is basically the same of AbstractQueryImpl methods.
The main difference is on SetProperties(Object):
If you mix Object with named parameters setter, if same param name are found,
the value of the parameter setter override the value read from the POCO.
Inheritance Hierarchy
System..::..Object
NHibernate.Impl..::..AbstractDetachedQuery
NHibernate.Impl..::..DetachedNamedQuery
NHibernate.Impl..::..DetachedQuery
NHibernate.Impl..::..AbstractDetachedQuery
NHibernate.Impl..::..DetachedNamedQuery
NHibernate.Impl..::..DetachedQuery