Beispiel #1
0
 /// <summary>Agrega un campo al listado de campos de orden</summary>
 public Query OrderBy(Expression field, dbOrd order)
 {
     lstOrderBy.Add(new Order()
     {
         field = field, order = order
     });
     return(this);
 }
Beispiel #2
0
 /// <summary>Agrega un campo al listado de campos de orden</summary>
 public Query OrderBy(string field, dbOrd order)
 {
     lstOrderBy.Add((SanitizeSQL(field) + " " + order.ToString().ToUpper()).Trim());
     return(this);
 }