public override bool PrepareRun(Database.DBCon db, string tableName) { _option = Shapefiles.AreaType.State; _areaname = ""; if (Values.Count > 0) { _option = (Shapefiles.AreaType)Enum.Parse(typeof(Shapefiles.AreaType), Values[0]); } if (Values.Count > 1) { _areaname = Values[1]; } return(base.PrepareRun(db, tableName)); }
public override bool PrepareRun(Database.DBCon db, string tableName) { _option = Shapefiles.AreaType.State; _areaname = ""; if (Values.Count > 0) { _option = (Shapefiles.AreaType)Enum.Parse(typeof(Shapefiles.AreaType), Values[0]); } if (Values.Count > 1) { _areaname = Values[1]; } return base.PrepareRun(db, tableName); }