Ejemplo n.º 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>();
 }
Ejemplo n.º 2
0
 public GroupByQuery GroupBy(params DataColumn[] group)
 {
     _groupBy = new GroupByQuery(this, group);
     return(_groupBy);
 }