Пример #1
0
        private static bool HasRulesToExecute()
        {
            bool hasRules = false;

            lfa.pmgmt.data.DAO.BusinessRule.RuleSet ruleSetDAO = new lfa.pmgmt.data.DAO.BusinessRule.RuleSet();
            ruleSetDAO.ConnectionString = _connectionString;
            List<lfa.pmgmt.data.DTO.BusinessRule.RuleSet> ruleSets = ruleSetDAO.List();

            if (ruleSets.Count > 0)
                hasRules = true;

            return hasRules;
        }
Пример #2
0
        private static bool HasRulesToExecute()
        {
            bool hasRules = false;

            lfa.pmgmt.data.DAO.BusinessRule.RuleSet ruleSetDAO = new lfa.pmgmt.data.DAO.BusinessRule.RuleSet();
            ruleSetDAO.ConnectionString = _connectionString;
            List <lfa.pmgmt.data.DTO.BusinessRule.RuleSet> ruleSets = ruleSetDAO.List();

            if (ruleSets.Count > 0)
            {
                hasRules = true;
            }

            return(hasRules);
        }