예제 #1
0
        public static RuleDllInfo FromDataRow(System.Data.DataRow rowRuleClassInfo)
        {
            RuleDllInfo ruleClassInfo = new RuleDllInfo();
            ruleClassInfo.ID = int.Parse(rowRuleClassInfo["ID"].ToString());
            ruleClassInfo.Name = rowRuleClassInfo["RuleName"].ToString();
            ruleClassInfo.DllName = rowRuleClassInfo["DllFile"] as string;
            ruleClassInfo.ClassName = rowRuleClassInfo["ClassName"] as string;
            ruleClassInfo.Description = rowRuleClassInfo["Remark"] as string;

            return ruleClassInfo;
        }
예제 #2
0
파일: RuleDllInfo.cs 프로젝트: zj8487/HyDM
        public static RuleDllInfo FromDataRow(System.Data.DataRow rowRuleClassInfo)
        {
            RuleDllInfo ruleClassInfo = new RuleDllInfo();

            ruleClassInfo.ID          = int.Parse(rowRuleClassInfo["ID"].ToString());
            ruleClassInfo.Name        = rowRuleClassInfo["RuleName"].ToString();
            ruleClassInfo.DllName     = rowRuleClassInfo["DllFile"] as string;
            ruleClassInfo.ClassName   = rowRuleClassInfo["ClassName"] as string;
            ruleClassInfo.Description = rowRuleClassInfo["Remark"] as string;

            return(ruleClassInfo);
        }