Пример #1
0
 // All done, persist catalog if required
 public bool Finish()
 {
     Logger.Assert(_status != CatalogStatus.Finished);
     if (_sessionstate > SessionState.None)
     {
         EndSession(SessionResults.Ok);
     }
     Logger.WriteLine(2, "Catalog Finish '{0}'", this);
     SqlTarget.Close();
     _status = CatalogStatus.Finished;
     return(true);
 }