Skip to content

Sql.Count method (1 of 4)

Returns COUNT(*).

public static string Count()

Return Value

COUNT(*).

See Also


Sql.Count method (2 of 4)

Creates a COUNT() expression.

public static string Count(IField field)
parameter description
field The field.

Return Value

The COUNT() expression.

Exceptions

exception condition
ArgumentNullException field is null.

See Also


Sql.Count method (3 of 4)

Creates a COUNT() expression.

public static string Count(string field)
parameter description
field The field.

Return Value

The COUNT() expression.

Exceptions

exception condition
ArgumentNullException field is null or empty.

See Also


Sql.Count method (4 of 4)

Creates a COUNT() expression.

public static string Count(int joinNumber, string field)
parameter description
joinNumber The join number.
field The field.

Return Value

The COUNT() expression.

Exceptions

exception condition
ArgumentNullException field is null or empty.

See Also