public Delete(IFormatter parameters, string tableAlias = "") { this.Query = Enums.SqlQuery.Delete; this.TableAlias = tableAlias; this.Formatter = parameters; this.Where = new WhereList(this.Formatter); }
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(); } }