This documentation is archived and is not being maintained.

Table<TEntity>.Average Method

Visual Studio 2008

Computes the average of a sequence of numeric values.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public Extension Method Average(Expression<Func<TEntity, Int32>>) Computes the average of a sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Nullable<Int32>>>) Computes the average of a sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Single>>) Computes the average of a sequence of Single values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Nullable<Single>>>) Computes the average of a sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Int64>>) Computes the average of a sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Nullable<Int64>>>) Computes the average of a sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Double>>) Computes the average of a sequence of Double values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Nullable<Double>>>) Computes the average of a sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Decimal>>) Computes the average of a sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Expression<Func<TEntity, Nullable<Decimal>>>) Computes the average of a sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence. (Defined by Queryable.)
Public Extension Method Average(Func<TEntity, Int32>) Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Nullable<Int32>>) Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Int64>) Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Nullable<Int64>>) Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Single>) Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Nullable<Single>>) Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Double>) Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Nullable<Double>>) Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Decimal>) Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average(Func<TEntity, Nullable<Decimal>>) Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Top
Show: