public void Load() { if (Stop == true) { return; } //Console.WriteLine("Load"); if (ETL_GeneralLedgerList != null && RefId != Guid.Empty) { etlAccountingBO.LoadGeneralLedger(session, ETL_GeneralLedgerList); } ETLEntryObjectHistoryBO _ETLEntryObjectHistoryBO = new ETLEntryObjectHistoryBO(); ETLJobBO _ETLJobBO = new ETLJobBO(); //Console.WriteLine("Load DataBase"); if (RefId != Guid.Empty) { _ETLLogBO.JobLog(session, JobId, "State1", "Status1"); _ETLLogBO.SetETLBusinessObjectStatus(session, JobId, RefId, 1); _ETLEntryObjectHistoryBO.SetETLEntryObjectHistoryStatus(session, JobId, RefId, 1); } //Code for Loading }