Show / Hide Table of Contents

Class CountAll

The CountAll class - the argument is used to determine table, but the actual SQL generated will be "COUNT(*)"

Inheritance
Object
QueryElement
Argument
Aggregation
CountAll
Implements
ICloneable
Inherited Members
Aggregation._arg
Aggregation.GetMainField()
Aggregation.ArgumentObject
Argument.Equal(Argument)
Argument.UnEqual(Argument)
Argument.LessThan(Argument)
Argument.LessThanOrEqual(Argument)
Argument.GreaterThan(Argument)
Argument.GreaterThanOrEqual(Argument)
Argument.Like(Argument)
Argument.Like(String)
Argument.NotLike(Argument)
Argument.NotBetween(Argument, Argument)
Argument.Between(Argument, Argument)
Argument.In(Argument[])
Argument.HasAny(Argument[])
Argument.HasAll(Argument[])
Argument.MissingAny(Argument[])
Argument.MissingAll(Argument[])
Argument.IsNull()
Argument.IsNotNull()
Argument.NotIn(Argument[])
Argument.ToArgumentArray<T>(T[])
Argument.ToArgumentArray<T>(T[], Boolean)
Argument.GetSubElements()
Argument.Alias
Argument.DataType
Argument.Size
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
QueryElement.Clone()
Remarks

This method is used by the 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)

Overrides
Object.ToString()

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top