Construct a query translator

Namespace: NHibernate.Hql.Classic
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public QueryTranslator(
	string queryIdentifier,
	string queryString,
	IDictionary<string, IFilter> enabledFilters,
	ISessionFactoryImplementor factory
)
Visual Basic
Public Sub New ( _
	queryIdentifier As String, _
	queryString As String, _
	enabledFilters As IDictionary(Of String, IFilter), _
	factory As ISessionFactoryImplementor _
)
Visual C++
public:
QueryTranslator(
	String^ queryIdentifier, 
	String^ queryString, 
	IDictionary<String^, IFilter^>^ enabledFilters, 
	ISessionFactoryImplementor^ factory
)

Parameters

queryIdentifier
Type: System..::..String
A unique identifier for the query of which this translation is part; typically this is the original, user-supplied query string.
queryString
Type: System..::..String
The "preprocessed" query string; at the very least already processed by {@link org.hibernate.hql.QuerySplitter}.
enabledFilters
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, IFilter>)>)>
Any enabled filters.
factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor
The session factory.

See Also