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; }
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); }