Compile a filter. This method may be called multiple times. Subsequent invocations are no-ops.

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

Syntax

C#
void Compile(
	string collectionRole,
	IDictionary<string, string> replacements,
	bool shallow
)
Visual Basic
Sub Compile ( _
	collectionRole As String, _
	replacements As IDictionary(Of String, String), _
	shallow As Boolean _
)
Visual C++
void Compile(
	String^ collectionRole, 
	IDictionary<String^, String^>^ replacements, 
	bool shallow
)

Parameters

collectionRole
Type: System..::..String
the role name of the collection used as the basis for the filter.
replacements
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
Defined query substitutions.
shallow
Type: System..::..Boolean
Does this represent a shallow (scalar or entity-id) select?

See Also