예제 #1
0
 public Deleter(Func <string> Maker, Database db, string Table, whereGen <Wherer> Where, whereContitionsGen <Wherer> WhereCondition)
     : base(Maker, db)
 {
     this.Table          = Table;
     this.Where          = Where;
     this.WhereCondition = WhereCondition;
 }
 public Updater2(Func <string> Maker, Database db, whereGen <Wherer> Where, whereContitionsGen <Wherer> WhereCondition, pairAdder Add, string Table, object pairs)
     : base(Maker, db)
 {
     this.Table          = Table;
     this.Where          = Where;
     this.WhereCondition = WhereCondition;
     foreach (var prop in pairs.GetType().GetProperties())
     {
         Add(prop.Name, prop.GetValue(pairs));
     }
 }
예제 #3
0
 public Fromer(Func <string> Maker,
               joinGen Join, joinGen LeftJoin, joinGen RightJoin, joinGen FullJoin,
               whereGen <Wherer> Where, whereContitionsGen <Wherer> WhereConditional,
               orderGen Order, limitGen Limit, Database db, params string[] selects)
     : base(Maker, db)
 {
     this.Join           = Join;
     this.LeftJoin       = LeftJoin;
     this.RightJoin      = RightJoin;
     this.FullJoin       = FullJoin;
     this.Where          = Where;
     this.WhereCondition = WhereConditional;
     this.Order          = Order;
     this.Limit          = Limit;
     Value = string.Join(", ", selects);
 }
 public Pairer(Func <string> Maker, Database db, whereGen <Wherer> Where, whereContitionsGen <Wherer> WhereCondition, BaseQueryer.pairGen Pair, string Key, object Value)
     : base(Maker, db, Pair, Key, Value)
 {
     this.Where          = Where;
     this.WhereCondition = WhereCondition;
 }