static void Main(string[] args) { List <Thread> processData = new List <Thread>(); //processData.Add(new Thread(ProcessDataConversion.ProcessUser)); //processData.Add(new Thread(ProcessDataConversion.ProcessService)); //processData.Add(new Thread(ProcessDataConversion.ProcessTimesheetGroupMember)); //processData.Add(new Thread(ProcessDataConversion.ProcessPODetail)); //processData.Add(new Thread(ProcessDataConversion.ProcessProjectAccount)); foreach (string directoryName in Directory.GetDirectories(ConfigurationManager.AppSettings["crystalReportsPath"])) { foreach (string reportName in Directory.GetFiles(directoryName)) { // processData.Add(new Thread(() => ProcessDataConversion.ProcessCrystalReport(reportName))); } } foreach (Thread t in processData) { t.Start(); } ProcessDataConversion.ProcessActivityAllocation(); //ProcessDataConversion.ProcessUser(""); //ProcessDataConversion.ProcessRent(""); ProcessDataConversion.ProcessService(); // ProcessDataConversion.ProcessProjectAccount(); //Console.WriteLine("Complete"); Console.ReadKey(); }
public void ProcessCSV() { ProcessDataConversion.ProcessXml(@"C:\Development\ProjectAtlas\DataConversion\resultsPlus\Templates\Xml\ContactsCsv.xml"); }