public void Load(ICollection <PlanActionLookup> pInitialWorkflows, ICollection <PlanActionLookup> pCommonPlanActions, ICollection <PlanActionLookup> pFinalWorkflows)
        {
            if (pInitialWorkflows == null || pCommonPlanActions == null || pFinalWorkflows == null)
            {
                return;
            }

            DbQueryBase <ProvisioningPlanExtraDbTable> query = new OracleDbQuery <ProvisioningPlanExtraDbTable>();

            using (IDataReader reader = DbHelper.ExecuteReader(_transaction, query.SelectAllQuery))
            {
                while (reader.Read())
                {
                    using (EventWaitHandle synchronizer = new AutoResetEvent(false))
                    {
                        Task iTask = Task.Factory.StartNew(LoadItems, new HierarchyParallelContext(reader, pInitialWorkflows, ProvisioningPlanExtraDbTable.FILTER_INITIAL_VALUE));
                        Task lTask = Task.Factory.StartNew(LoadItems, new HierarchyParallelContext(reader, pFinalWorkflows, ProvisioningPlanExtraDbTable.FILTER_FINAL_VALUE));
                        Task.Factory.ContinueWhenAll(new Task[] { iTask, lTask }, (obj) => { synchronizer.Set(); });
                        synchronizer.WaitOne();
                    }
                }
            }
            PlanActionLookup item = new PlanActionLookup()
            {
                Code        = "Tivoli Provisioning Manager Inventory Discovery",
                Name        = "Tivoli Provisioning Manager Inventory Discovery",
                Description = "HELP: Perform Full Inventory Scan",
                IsLoaded    = true,
                IsSelected  = true
            };

            pCommonPlanActions.Add(item);
        }
        public void Load(ICollection <PlanActionLookup> pPostConfigurationActions)
        {
            if (pPostConfigurationActions == null)
            {
                return;
            }

            DbQueryBase <ProvisioningPlanExtraDbTable> query = new OracleDbQuery <ProvisioningPlanExtraDbTable>();

            using (IDataReader reader = DbHelper.ExecuteReader(_transaction, query.SelectAllQuery))
            {
                while (reader.Read())
                {
                    LoadItems(new HierarchyParallelContext(reader, pPostConfigurationActions, ProvisioningPlanExtraDbTable.FILTER_ADVANCED_VALUE));
                }
            }
        }