◆ Average()
| float Baruah.DataSmith.Database.QueryBuilder< T >.Average |
( |
string | columns = "*" | ) |
|
◆ BuildAggregate()
| string Baruah.DataSmith.Database.QueryBuilder< T >.BuildAggregate |
( |
string | function | ) |
|
Build Aggregate.
- Parameters
-
- Returns
- sql query
◆ BuildSelect()
| string Baruah.DataSmith.Database.QueryBuilder< T >.BuildSelect |
( |
string | columns = "*" | ) |
|
Build select.
- Parameters
-
- Returns
- sql query
◆ BuildWhereClause()
| string Baruah.DataSmith.Database.QueryBuilder< T >.BuildWhereClause |
( |
| ) |
|
|
protected |
◆ Count()
| int Baruah.DataSmith.Database.QueryBuilder< T >.Count |
( |
string | columns = "*" | ) |
|
◆ ExecuteScalar< TResult >()
| TResult Baruah.DataSmith.Database.QueryBuilder< T >.ExecuteScalar< TResult > |
( |
string | sqlFunction | ) |
|
|
abstractprotected |
◆ FirstOrDefault()
| T Baruah.DataSmith.Database.QueryBuilder< T >.FirstOrDefault |
( |
| ) |
|
◆ Limit()
| QueryBuilder< T > Baruah.DataSmith.Database.QueryBuilder< T >.Limit |
( |
int | count | ) |
|
set limit
- Parameters
-
| count | number of element count |
- Returns
- QueryBuilder
◆ Max()
| int Baruah.DataSmith.Database.QueryBuilder< T >.Max |
( |
string | columns = "*" | ) |
|
◆ Min()
| int Baruah.DataSmith.Database.QueryBuilder< T >.Min |
( |
string | columns = "*" | ) |
|
◆ OrderBy()
| QueryBuilder< T > Baruah.DataSmith.Database.QueryBuilder< T >.OrderBy |
( |
string | clause | ) |
|
Set the order of response.
- Parameters
-
- Returns
- QueryBuilder
◆ QueryBuilder()
| Baruah.DataSmith.Database.QueryBuilder< T >.QueryBuilder |
( |
| ) |
|
◆ Sum()
| int Baruah.DataSmith.Database.QueryBuilder< T >.Sum |
( |
string | columns = "*" | ) |
|
◆ Where()
| QueryBuilder< T > Baruah.DataSmith.Database.QueryBuilder< T >.Where |
( |
string | condition | ) |
|
Where Condition.
- Parameters
-
- Returns
- QueryBuilder
◆ _conditions
| readonly List<string> Baruah.DataSmith.Database.QueryBuilder< T >._conditions = new() |
|
protected |
◆ _orderBy
| readonly List<string> Baruah.DataSmith.Database.QueryBuilder< T >._orderBy = new() |
|
protected |
◆ _where
| readonly List<string> Baruah.DataSmith.Database.QueryBuilder< T >._where = new() |
|
protected |
The documentation for this class was generated from the following file: