public void Add(string con, SQLVarVal field) { Variables.Add(new SQLWhereVar(con, field)); }
public SQLWhereVar(string con, SQLVarVal value) : base(value) { Constructor = con; }
public SQLVarVal(SQLVarVal value) : base(value.GetName()) { Value = new SQLVal(value.GetRawValue(), value.GetIsNum()); Operand = value.GetOperand(); }
public void Add(SQLVarVal field) { Variables.Add(new SQLWhereVar("", field)); }
public void AddWhereField(SQLVarVal field) { WhereFields.Add(field); }
public void AddHavingField(string function, string con, SQLVarVal field) { HavingFields.Add(function, con, field); }
public SQLHavingVar(string fun, string con, SQLVarVal value) : base(con, value) { Function = fun; }
public void Add(string function, SQLVarVal field) { Variables.Add(new SQLHavingVar(function, "", field)); }
public void AddWhereInField(SQLVarVal field) { WhereInField = new SQLVar(field.GetName()); WhereINValues.Add(new SQLVal(field.GetRawValue(), field.GetIsNum())); }
/// <summary> /// Creates a new instance and adds a variable to the list /// </summary> /// <param name="var">The variable to be added to the list</param> public SQLVarsVals(SQLVarVal var) : this() { Variables.Add(var); }
/// <summary> /// Removes a variable from the list /// </summary> /// <param name="var">The variable to be removed</param> public void Remove(SQLVarVal var) { Variables.Remove(var); }
/// <summary> /// Adds a variable to the list /// </summary> /// <param name="var">The variable to be added to the list</param> public void Add(SQLVarVal var) { Variables.Add(var); }
public SQLUpdateTable(string tablename, SQLVarVal var, SQLWhereVar where) : this(tablename) { Variables.Add(var); WhereFields.Add(where); }