Ejemplo n.º 1
0
        public void init()
        {
            m_cardOrderEngine = new CardOrderEngine();
            m_cardOrderEngine.setDbTableInitialization("all"); // cardnet db init + rewardo db init
            m_cardOrderEngine.getCardnetDAL().retrieveRequests("all");
            m_cardOrderEngine.getCardnetDAL().retrieveAnswers("all");
            m_cardOrderEngine.getCardnetDAL().retrievePartners();
            m_cardOrderEngine.getCardnetDAL().retrieveConstantUniversal();

            m_tablesViewModel = new TablesViewModel();
            fillTableViewModel();
        }
Ejemplo n.º 2
0
        public void init()
        {
            m_cardOrderEngine = new CardOrderEngine();

            var pomList = new List <string>()
            {
                "PosAcceptanceRequests", "PosAcceptanceAnswers", "CardOrderRequests", "CardOrderAnswers", "CreditOrderRequests", "CreditOrderAnswers",
                "CardStatusUpdateRequests", "CardStatusUpdateAnswers", "CardTransferRequests", "CardTransferAnswers", "partners", "constantUniversals", "constantPartners"
            };

            m_cardOrderEngine.setDbTableInitialization("all", pomList);

            m_tablesViewModel = new TablesViewModel();
            fillTableViewModel(m_tablesViewModel);
        }