Exemplo n.º 1
0
 public SQLWhereVar(string con, SQLField field, string val, string operand = " = ", bool isnum = false) : this(con, field.GetName(), val, operand, isnum)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor to create a variable value connection instance
 /// </summary>
 /// <param name="field">A SQLiteField variable to be used to name the variable</param>
 /// <param name="val">The value of the new variable</param>
 /// <param name="isnum">Whether it should be considered a number</param>
 public SQLVarVal(SQLField field, string val, string operand = " = ", bool isnum = false) : this(field.GetName(), val, operand, isnum)
 {
 }
Exemplo n.º 3
0
 public void AddGroupByField(SQLField field1)
 {
     GroupBy.Add(new SQLVar(field1.GetName()));
 }
Exemplo n.º 4
0
 public void AddOrderByField(SQLField field1, string order)
 {
     OrderByFields.Add(new SQLOrderVar(field1.GetName(), order));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Adds a variable to the list of variables with values
 /// </summary>
 /// <param name="field">Variable that contains the name of the variable</param>
 /// <param name="val">The value to be stored in the varible</param>
 /// <param name="isnum">Whether or not variable is a number</param>
 public void Add(SQLField field, string val, string operand = " = ", bool isnum = false)
 {
     Variables.Add(new SQLVarVal(field, val, operand, isnum));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Adds a field to the table
 /// </summary>
 /// <param name="field">Contains all the information for the field to be added</param>
 public void AddField(SQLField field)
 {
     Fields.Add(field);
 }