Exemplo n.º 1
0
 /// <summary>
 /// Removes a list of variables from the list
 /// </summary>
 /// <param name="vars">the variables to be removed</param>
 public void Remove(SQLVarsVals vars)
 {
     foreach (var v in vars.GetVars())
     {
         Variables.Remove(v);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new variable to host variables that already exist in another
 /// </summary>
 /// <param name="vars">The variable to be duplicated</param>
 public SQLVarsVals(SQLVarsVals vars) : this()
 {
     foreach (var v in vars.GetVars())
     {
         Variables.Add(v);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds another instancees variables to this list of variables with values
 /// </summary>
 /// <param name="vars">The variable list to be added to this one</param>
 public void Add(SQLVarsVals vars)
 {
     foreach (var v in vars.GetVars())
     {
         Variables.Add(v);
     }
 }