Exemplo n.º 1
0
        internal static DBOrderSet OrderBy(string field, Order order)
        {
            DBField fld = DBField.Field(field);

            return(OrderBy(fld, order));
        }
Exemplo n.º 2
0
        //
        // statement construction methods
        //

        #region public DBUpdateQuery Set(string field, DBClause toValue) + 2 overloads

        public DBUpdateQuery Set(string field, DBClause toValue)
        {
            DBField fld = DBField.Field(field);

            return(Set(fld, toValue));
        }
Exemplo n.º 3
0
 /// <summary>
 /// Adds a column to the  index with the ordering specified
 /// </summary>
 /// <param name="column"></param>
 /// <param name="order"></param>
 /// <returns></returns>
 public DBCreateIndexQuery Columns(string column, Order order)
 {
     this.ColumnOrders.Add(DBOrder.OrderBy(order, DBField.Field(column)));
     return(this);
 }