Inheritance: CodeKing.SqlHarvester.Core.Configuration.HarvestConfigurationSection
 /// <summary>
 /// Initializes a new instance of the <see cref="HarvestService"/> class.
 /// </summary>
 /// <param name="sqlConfiguration">The SQL configuration.</param>
 public HarvestService(SqlHarvesterConfiguration sqlConfiguration)
 {
     this.sqlConfiguration = sqlConfiguration;
     database = new Database(sqlConfiguration.ConnectionString);
 }
 private void CreateTablesStack(string value, SqlHarvesterConfiguration configuration)
 {
     if (string.IsNullOrEmpty(value))
     {
         throw new ArgumentException("Tables data is undefined");
     }
     string[] rawtable = value.Split(':');
     foreach (string tableData in rawtable)
     {
         configuration.ScriptInfoCollection.Add(new ScriptInfo(tableData));
     }
 }