Beispiel #1
0
 public void CreateTable(TableInfo table, DataScript data)
 {
     TableInfo tbl = table.CloneTable();
     AddOperation(new AlterOperation_CreateTable { NewObject = tbl, Data = data });
 }
Beispiel #2
0
 public override void AssignFrom(AlterOperation src)
 {
     base.AssignFrom(src);
     Data = ((AlterOperation_CreateTable)src).Data;
 }
Beispiel #3
0
 public void UpdateData(NameWithSchema table, DataScript script)
 {
     TableInfo tbl = Structure.FindOrCreateTable(table);
     AddOperation(new AlterOperation_UpdateData { ParentTable = tbl, Script = script });
 }
Beispiel #4
0
 public override void AssignFrom(AlterOperation src)
 {
     base.AssignFrom(src);
     Script = ((AlterOperation_UpdateData)src).Script;
 }