Exemple #1
0
 public SqlAction(SchemaBase item)
 {
     if ((item.ObjectType1 == ObjectType1.Column) || (item.ObjectType1 == ObjectType1.Index) || (item.ObjectType1 == ObjectType1.Constraint))
         Name = item.Name;
     else
         Name = item.FullName;
     action = item.Status;
     Type1 = item.ObjectType1;
     childs = new List<SqlAction>();
 }
Exemple #2
0
 public void Add(SchemaBase item)
 {
     childs.Add(new SqlAction(item));
 }