Same as Sum(IQueryable<Nullable<Decimal>>), but returns an IQueryable<Nullable<Decimal>>
containing a single element. Computes the sum of a set of nullable decimal values.
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>> SumAsQuery( this IQueryable<Nullable<decimal>> source )
Parameters
- source
- Type: System.Linq.IQueryable<Nullable<Decimal>>
A dataset of nullable decimal values to calculate the sum of
Return Value
Type: IQueryable<Nullable<Decimal>>The sum of the values in the dataset
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryable<Nullable<Decimal>>. 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