A distinct property value count
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static CountProjection CountDistinct<T>( Expression<Func<T, Object>> expression ) |
Visual Basic |
---|
Public Shared Function CountDistinct(Of T) ( _ expression As Expression(Of Func(Of T, Object)) _ ) As CountProjection |
Visual C++ |
---|
public: generic<typename T> static CountProjection^ CountDistinct( Expression<Func<T, Object^>^>^ expression ) |
Parameters
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Object>)>)>>)>)>
[Missing <param name="expression"/> documentation for "M:NHibernate.Criterion.Projections.CountDistinct``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:NHibernate.Criterion.Projections.CountDistinct``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Criterion.Projections.CountDistinct``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]