Construct a IQueryTranslator instance capable of translating an HQL query string.

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

Syntax

C#
IQueryTranslator[] CreateQueryTranslators(
	string queryString,
	string collectionRole,
	bool shallow,
	IDictionary<string, IFilter> filters,
	ISessionFactoryImplementor factory
)
Visual Basic
Function CreateQueryTranslators ( _
	queryString As String, _
	collectionRole As String, _
	shallow As Boolean, _
	filters As IDictionary(Of String, IFilter), _
	factory As ISessionFactoryImplementor _
) As IQueryTranslator()
Visual C++
array<IQueryTranslator^>^ CreateQueryTranslators(
	String^ queryString, 
	String^ collectionRole, 
	bool shallow, 
	IDictionary<String^, IFilter^>^ filters, 
	ISessionFactoryImplementor^ factory
)

Parameters

queryString
Type: System..::..String
The query string to be translated
collectionRole
Type: System..::..String

[Missing <param name="collectionRole"/> documentation for "M:NHibernate.Hql.IQueryTranslatorFactory.CreateQueryTranslators(System.String,System.String,System.Boolean,System.Collections.Generic.IDictionary{System.String,NHibernate.IFilter},NHibernate.Engine.ISessionFactoryImplementor)"]

shallow
Type: System..::..Boolean

[Missing <param name="shallow"/> documentation for "M:NHibernate.Hql.IQueryTranslatorFactory.CreateQueryTranslators(System.String,System.String,System.Boolean,System.Collections.Generic.IDictionary{System.String,NHibernate.IFilter},NHibernate.Engine.ISessionFactoryImplementor)"]

filters
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, IFilter>)>)>
Currently enabled filters
factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor
The session factory

Return Value

An appropriate translator.

See Also