Returns a clone of the original criteria, which will return the count
of rows that are returned by the original criteria query.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static DetachedCriteria TransformToRowCount( DetachedCriteria criteria ) |
Visual Basic |
---|
Public Shared Function TransformToRowCount ( _ criteria As DetachedCriteria _ ) As DetachedCriteria |
Visual C++ |
---|
public: static DetachedCriteria^ TransformToRowCount( DetachedCriteria^ criteria ) |
Parameters
- criteria
- Type: NHibernate.Criterion..::..DetachedCriteria
[Missing <param name="criteria"/> documentation for "M:NHibernate.CriteriaTransformer.TransformToRowCount(NHibernate.Criterion.DetachedCriteria)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.CriteriaTransformer.TransformToRowCount(NHibernate.Criterion.DetachedCriteria)"]