Class CountAll
The CountAll class - the argument is used to determine table, but the actual SQL generated will be "COUNT(*)"
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class CountAll : Aggregation, ICloneable
Constructors
CountAll(Argument)
Initializes a new instance of the Count class, and takes an argument as in-parameter. Use this function if you want to use distinct on the actual field.
Declaration
public CountAll(Argument arg)
Parameters
| Type | Name | Description |
|---|---|---|
| Argument | arg | The object we are dealing with. Might be a FieldInfo or an Argument. |
Methods
Clone()
Clone the query. Parameter values are shared between the original and the clone.
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| object | Copy of the COUNT node |
Overrides
Remarks
This method is used by the SentryQueryUpdater to modify a query with sentry extensions without affecting the original query.
ToString()
String output.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | COUNT(a) |