示例#1
0
 public ExtractorLib(string tables, TextWriter outputFile, ISQLAbstraction dataLayer, int notificationPercent = 5)
 {
     rows = -1;
     this.outputFile = outputFile;
     this.notificationPercent = notificationPercent;
     this.dataLayer = dataLayer;
     if (tables == "*")
     {
         tablesToExtract = dataLayer.TableList;
     }
     else
     {
         tablesToExtract = tables.Split(',');
     }
 }
示例#2
0
 public ExtractorLib(TextWriter outputFile, ISQLAbstraction dataLayer, int notificationPercent = 5)
     : this("*", outputFile, dataLayer, notificationPercent)
 {
 }