A property average value

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

Syntax

C#
public static AggregateProjection Avg<T>(
	Expression<Func<T, Object>> expression
)
Visual Basic
Public Shared Function Avg(Of T) ( _
	expression As Expression(Of Func(Of T, Object)) _
) As AggregateProjection
Visual C++
public:
generic<typename T>
static AggregateProjection^ Avg(
	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.Avg``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:NHibernate.Criterion.Projections.Avg``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.Projections.Avg``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

See Also