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(','); } }
public ExtractorLib(TextWriter outputFile, ISQLAbstraction dataLayer, int notificationPercent = 5) : this("*", outputFile, dataLayer, notificationPercent) { }