Returns a clone of the original criteria, which will return the count of rows that are returned by the original criteria query.

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

Syntax

C#
public static ICriteria TransformToRowCount(
	ICriteria criteria
)
Visual Basic
Public Shared Function TransformToRowCount ( _
	criteria As ICriteria _
) As ICriteria
Visual C++
public:
static ICriteria^ TransformToRowCount(
	ICriteria^ criteria
)

Parameters

criteria
Type: NHibernate..::..ICriteria

[Missing <param name="criteria"/> documentation for "M:NHibernate.CriteriaTransformer.TransformToRowCount(NHibernate.ICriteria)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.CriteriaTransformer.TransformToRowCount(NHibernate.ICriteria)"]

See Also