예제 #1
0
 internal SelectQuery(DataSource ds, string table, params DataColumn[] columns)
 {
     _ds      = ds;
     _table   = table;
     _select  = columns;
     _where   = null;
     _groupBy = null;
     _orderBy = null;
     _prefix  = false;
     _default = string.Concat(table, ".*");
     _ps      = new List <DataParameter>();
 }
예제 #2
0
 public OrderByQuery OrderBy(params DataOrder[] order)
 {
     _orderBy = new OrderByQuery(this, order);
     return(_orderBy);
 }