Пример #1
0
 public override void WriteRollback(DdlRules rules, TextWriter writer)
 {
     if (Expected.IsRemoved)
     {
         Actual.WriteCreateStatement(rules, writer);
     }
     else
     {
         if (Actual != null)
         {
             writer.WriteReplaceFunction(rules, Expected, Actual);
         }
         else
         {
             writer.WriteDropFunction(Expected);
         }
     }
 }
Пример #2
0
 public void WriteRestorationOfPreviousState(DdlRules rules, TextWriter writer)
 {
     Actual.WriteCreateStatement(rules, writer);
 }
Пример #3
0
 public virtual void WriteRollback(DdlRules rules, TextWriter writer)
 {
     Expected.WriteDropStatement(rules, writer);
     Actual.WriteCreateStatement(rules, writer);
 }