예제 #1
0
파일: Rules.cs 프로젝트: ttgzs/SmartVillage
        public List <lfa.pmgmt.data.DTO.BusinessRule.RuleSet> ListActiveRuleSets()
        {
            List <lfa.pmgmt.data.DTO.BusinessRule.RuleSet> ruleSet = new List <pmgmt.data.DTO.BusinessRule.RuleSet>();

            lfa.pmgmt.data.DAO.BusinessRule.RuleSet ruleSetDAO = new pmgmt.data.DAO.BusinessRule.RuleSet();
            ruleSetDAO.ConnectionString = _connectionString;

            ruleSet = ruleSetDAO.List();

            return(ruleSet);
        }
예제 #2
0
        public List<lfa.pmgmt.data.DTO.BusinessRule.RuleSet> ListActiveRuleSets()
        {
            List<lfa.pmgmt.data.DTO.BusinessRule.RuleSet> ruleSet = new List<pmgmt.data.DTO.BusinessRule.RuleSet>();

            lfa.pmgmt.data.DAO.BusinessRule.RuleSet ruleSetDAO = new pmgmt.data.DAO.BusinessRule.RuleSet();
            ruleSetDAO.ConnectionString = _connectionString;

            ruleSet = ruleSetDAO.List();

            return ruleSet;
        }