Create a new instance of DetachedNamedQuery for a named query string defined in the mapping file.
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public DetachedNamedQuery( string queryName ) |
Visual Basic |
---|
Public Sub New ( _ queryName As String _ ) |
Visual C++ |
---|
public: DetachedNamedQuery( String^ queryName ) |
Parameters
- queryName
- Type: System..::..String
The name of a query defined externally.
Remarks
The query can be either in HQL or SQL format.