コード例 #1
0
 public SqlQueryWhere(SqlQueryTable <T> table, string columnName, Dictionary <string, object> parameters)
 {
     _column     = columnName;
     _table      = table;
     _where      = new StringBuilder();
     _parameters = parameters;
 }
コード例 #2
0
 public SqlQueryOrderBy(SqlQueryTable <T> table, string column, string alias, bool descending = false)
 {
     _table     = table;
     _column    = column;
     _direction = descending ? "DESC" : "ASC";
     _alias     = alias;
     _thenBy    = new StringBuilder();
 }
コード例 #3
0
 public SqlQueryRightJoin(SqlQueryTable <T> tableOne, SqlQueryTable <S> tableTwo) : base(tableOne, tableTwo)
 {
 }
コード例 #4
0
 public SqlQueryInnerJoin(SqlQueryTable <T> tableOne, SqlQueryTable <S> tableTwo) : base(tableOne, tableTwo)
 {
 }
コード例 #5
0
 protected SqlQueryJoin(SqlQueryTable <T> tableOne, SqlQueryTable <S> tableTwo)
 {
     TableTwo = tableTwo;
     TableOne = tableOne;
 }
コード例 #6
0
 public SqlQueryTable <T> From(string tableName, string schema)
 {
     return(_from = new SqlQueryTable <T>(_queryBuilder, tableName, schema));
 }