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

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

Syntax

Visual Basic (Declaration)
Sub Compile ( _
	collectionRole As String, _
	replacements As IDictionary, _
	shallow As Boolean _
)
C#
void Compile(
	string collectionRole,
	IDictionary replacements,
	bool shallow
)
Visual C++
void Compile(
	String^ collectionRole, 
	IDictionary^ replacements, 
	bool shallow
)
JavaScript
function compile(collectionRole, replacements, shallow);

Parameters

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

See Also