Same as Average(IQueryableNullableDecimal), but returns an IQueryable<Nullable<Decimal>>
containing a single element. Computes the average of a set of nullable decimal values in the input
dataset.
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
public static IQueryable<Nullable<decimal>> AverageAsQuery( this IQueryable<Nullable<decimal>> source )
Parameters
- source
- Type: System.LinqIQueryableNullableDecimal
A set of nullable decimal values to calculate the average of
Return Value
Type: IQueryableNullableDecimalThe average of the values in the input dataset
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableNullableDecimal. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also