Пример #1
0
 public void Add(string con, SQLVarVal field)
 {
     Variables.Add(new SQLWhereVar(con, field));
 }
Пример #2
0
 public SQLWhereVar(string con, SQLVarVal value) : base(value)
 {
     Constructor = con;
 }
Пример #3
0
 public SQLVarVal(SQLVarVal value) : base(value.GetName())
 {
     Value   = new SQLVal(value.GetRawValue(), value.GetIsNum());
     Operand = value.GetOperand();
 }
Пример #4
0
 public void Add(SQLVarVal field)
 {
     Variables.Add(new SQLWhereVar("", field));
 }
Пример #5
0
 public void AddWhereField(SQLVarVal field)
 {
     WhereFields.Add(field);
 }
Пример #6
0
 public void AddHavingField(string function, string con, SQLVarVal field)
 {
     HavingFields.Add(function, con, field);
 }
Пример #7
0
 public SQLHavingVar(string fun, string con, SQLVarVal value) : base(con, value)
 {
     Function = fun;
 }
Пример #8
0
 public void Add(string function, SQLVarVal field)
 {
     Variables.Add(new SQLHavingVar(function, "", field));
 }
Пример #9
0
 public void AddWhereInField(SQLVarVal field)
 {
     WhereInField = new SQLVar(field.GetName());
     WhereINValues.Add(new SQLVal(field.GetRawValue(), field.GetIsNum()));
 }
Пример #10
0
 /// <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);
 }
Пример #11
0
 /// <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);
 }
Пример #12
0
 /// <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);
 }
Пример #13
0
 public SQLUpdateTable(string tablename, SQLVarVal var, SQLWhereVar where) : this(tablename)
 {
     Variables.Add(var);
     WhereFields.Add(where);
 }