TechTalk Genome v4.2

Sql.Sum Method 

Returns the sum of all elements in a Set.

public static object Sum(
   Set s
);

Parameters

s
The Set whose elements are to be summed. Must have a numeric Set.ElementType.

Return Value

a null reference if s is an empty set ; sum of all elements in s otherwise.

a null reference, DBNull or NULL values in the source Set are ignored.

Exceptions

Exception TypeCondition
NotImplementedExceptions is not a Set and is not equal to Set.Empty.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

Sql Class | TechTalk.Genome Namespace