public ApplicationSettingsServices(string pTestDb)
 {
     _dataParamManager        = new ApplicationSettingsManager(pTestDb);
     _nonWorkingDateManager   = new NonWorkingDateManagement(pTestDb);
     _provisioningRuleManager = new ProvisioningRuleManager(pTestDb);
     _loanScaleManager        = new LoanScaleManager(pTestDb);
 }
 public ApplicationSettingsServices(User pUser)
 {
     _user                    = pUser;
     _dataParamManager        = new ApplicationSettingsManager(pUser);
     _nonWorkingDateManager   = new NonWorkingDateManagement(pUser);
     _provisioningRuleManager = new ProvisioningRuleManager(pUser);
     _loanScaleManager        = new LoanScaleManager(_user);
 }
Пример #3
0
        public void TestFixtureSetUp()
        {
            TechnicalSettings.UseOnlineMode = false;
            nonWorkingDateManager           = new NonWorkingDateManagement(DataUtil.TESTDB);

            nonWorkingDateManager.DeleteAllPublicHolidays();

            nonWorkingDateManager.AddPublicHoliday(new DictionaryEntry(new DateTime(2006, 1, 1), "New Year Eve"));
            nonWorkingDateManager.AddPublicHoliday(new DictionaryEntry(new DateTime(2006, 3, 21), "Idi Navruz"));
            nonWorkingDateManager.AddPublicHoliday(new DictionaryEntry(new DateTime(2006, 11, 6), "Idi Ramazan"));

            ApplicationSettings data = ApplicationSettings.GetInstance("");

            data.DeleteAllParameters();
            data.AddParameter(OGeneralSettings.WEEKENDDAY1, 6);
            data.AddParameter(OGeneralSettings.WEEKENDDAY2, 0);
        }
 public ApplicationSettingsServices(string pTestDb)
 {
     _dataParamManager      = new ApplicationSettingsManager(pTestDb);
     _nonWorkingDateManager = new NonWorkingDateManagement(pTestDb);
 }
 public ApplicationSettingsServices(User pUser)
 {
     _user                  = pUser;
     _dataParamManager      = new ApplicationSettingsManager(pUser);
     _nonWorkingDateManager = new NonWorkingDateManagement(pUser);
 }