Exemple #1
0
 public Delete(IFormatter parameters, string tableAlias = "")
 {
     this.Query      = Enums.SqlQuery.Delete;
     this.TableAlias = tableAlias;
     this.Formatter  = parameters;
     this.Where      = new WhereList(this.Formatter);
 }
Exemple #2
0
        public Update(IFormatter parameters, bool autoMapping = false, string tableAlias = "")
        {
            this.Query      = Enums.SqlQuery.Update;
            this.Formatter  = parameters;
            this.TableAlias = tableAlias;
            this.Sets       = new SetList(this.Formatter);
            this.Where      = new WhereList(this.Formatter);

            if (autoMapping)
            {
                this.Mapping();
            }
        }