Construct a IQueryTranslator instance
capable of translating a Linq expression.
Namespace: NHibernate.HqlAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQueryTranslator[] CreateQueryTranslators( string queryIdentifier, IQueryExpression queryExpression, string collectionRole, bool shallow, IDictionary<string, IFilter> filters, ISessionFactoryImplementor factory ) |
Visual Basic |
---|
Function CreateQueryTranslators ( _ queryIdentifier As String, _ queryExpression As IQueryExpression, _ collectionRole As String, _ shallow As Boolean, _ filters As IDictionary(Of String, IFilter), _ factory As ISessionFactoryImplementor _ ) As IQueryTranslator() |
Visual C++ |
---|
array<IQueryTranslator^>^ CreateQueryTranslators( String^ queryIdentifier, IQueryExpression^ queryExpression, String^ collectionRole, bool shallow, IDictionary<String^, IFilter^>^ filters, ISessionFactoryImplementor^ factory ) |
Parameters
- queryIdentifier
- Type: System..::..String
The query-identifier (used in QueryStatistics collection). This is typically the same as the queryString parameter except for the case of split polymorphic queries which result in multiple physical sql queries.
- queryExpression
- Type: NHibernate..::..IQueryExpression
The query expression to be translated
- collectionRole
- Type: System..::..String
[Missing <param name="collectionRole"/> documentation for "M:NHibernate.Hql.IQueryTranslatorFactory2.CreateQueryTranslators(System.String,NHibernate.IQueryExpression,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.IQueryTranslatorFactory2.CreateQueryTranslators(System.String,NHibernate.IQueryExpression,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