Example #1
0
 public void AddRange(SqlScriptList items)
 {
     for (int j = 0; j < items.Count; j++)
     {
         if (list == null) list = new List<SqlScript>();
         list.Add(items[j]);
     }
 }
Example #2
0
 public SqlScriptList FindAlter()
 {
     SqlScriptList alter = new SqlScriptList();
     list.ForEach(item => { if ((item.Status == ScripActionType.AlterView) || (item.Status == ScripActionType.AlterFunction) || (item.Status == ScripActionType.AlterProcedure)) alter.Add(item); });
     return alter;
 }