public void Flip() { StringTheory theory = new StringTheory(this); this.Erase(); while (!theory.IsEmpty()) { this.Push(theory.Pop()); } this.touch(); }
protected void AppendSelectQuery(string tableName, StringTheory conditions, StringTheory specifiers, int limit) { StringTheory val = new StringTheory("SELECT * FROM %tableName% WHERE %conditions% %specifiers%"); if (conditions.IsEmpty()) { val.Replace("WHERE ", ""); } val.Replace("%tableName%", tableName); val.Replace("%conditions%", conditions); val.Replace("%specifiers%", specifiers); base.Append(val); this.LimitRecordsReturned(this, limit); }