Sql.Count method (1 of 4)
namespace: Serenity.Data assembly: Serenity.Net.Data
Returns COUNT(*)
public static string Count()
Return Value
COUNT(*)
See Also
- class Sql
Sql.Count method (2 of 4)
namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a COUNT() expression
public static string Count(IField field)
| parameter | description |
|---|---|
| field | The field. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | field is null or empty |
See Also
Sql.Count method (3 of 4)
namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a COUNT() expression
public static string Count(string field)
| parameter | description |
|---|---|
| field | The field. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | field is null or empty |
See Also
- class Sql
Sql.Count method (4 of 4)
namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a COUNT() expression
public static string Count(int joinNumber, string field)
| parameter | description |
|---|---|
| joinNumber | The join number. |
| field | The field. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | field is null or empty |
See Also
- class Sql