Sql.Avg method (1 of 3)
namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a AVG expression.
public static string Avg(IField field)
| parameter | description |
|---|---|
| field | The field. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | field is null or empty |
See Also
Sql.Avg method (2 of 3)
namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a AVG expression.
public static string Avg(string field)
| parameter | description |
|---|---|
| field | The field. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | field is null or empty |
See Also
- class Sql
Sql.Avg method (3 of 3)
namespace: Serenity.Data assembly: Serenity.Net.Data
Creates a AVG() expression.
public static string Avg(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