public static void ProcessCensusSchema() { try { Console.Write("PROCESSING CENSUS SCHEMA"); CensusDataHelper.OutputSchemaStrings(directory: OutputPath, allTables: true); Console.WriteLine("\rCENSUS SCHEMA PROCESSING COMPLETE\t\t\t\t\t"); } catch (Exception e) { Console.WriteLine(e.InnerException); Console.WriteLine(e); throw; } }
public static void ProcessCensusData() { try { if (RawCensusDataEntities.CreateDatabase()) { CensusDataHelper.ProcessData(CensusFileType.SummaryOne); CensusDataHelper.ProcessData(CensusFileType.SummaryTwo); // WORK IN PROGRESS //foreach (CensusFileType fileType in default(CensusFileType).GetEnums()) //{ // CensusDataHelper.ProcessCensusData(fileType); //} } } catch (Exception e) { Console.WriteLine(e.InnerException); Console.WriteLine(e); throw; } }