Пример #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
        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);
        }