コード例 #1
0
ファイル: BRuleTemp.cs プロジェクト: ImanRezaeipour/atlas
        private Dictionary <decimal, string> RuleTypeList; // = new Dictionary<int, string>();

        public BRuleTemp()
        {
            _ruleRep = new EntityRepository <RuleTemplate>();

            bRuleType    = new BRuleType();
            RuleTypeList = new Dictionary <decimal, string>();
            foreach (var ruleType in bRuleType.GetAll())
            {
                RuleTypeList.Add(ruleType.ID, ruleType.Name);
            }
        }
コード例 #2
0
ファイル: BRuleViewer.cs プロジェクト: ImanRezaeipour/GTS
        public IList <RuleType> GetAllRuleTypes()
        {
            BRuleType businessRuleType = new BRuleType();

            return(businessRuleType.GetAll());
        }