Set a strategy for handling the query results. This can be used to change "shape" of the query result.

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

Syntax

C#
IMultiQuery SetResultTransformer(
	IResultTransformer transformer
)
Visual Basic
Function SetResultTransformer ( _
	transformer As IResultTransformer _
) As IMultiQuery
Visual C++
IMultiQuery^ SetResultTransformer(
	IResultTransformer^ transformer
)

Parameters

transformer
Type: NHibernate.Transform..::..IResultTransformer

[Missing <param name="transformer"/> documentation for "M:NHibernate.IMultiQuery.SetResultTransformer(NHibernate.Transform.IResultTransformer)"]

Return Value

The instance for method chain.

Remarks

The will be applied after the transformer of each single query.

See Also