示例#1
0
        public static int getIdByName(int businessclass, string businessname)
        {
            Businesstype bt = BusinesstypeDao.FindFirst(new EqExpression("Businessclass", businessclass), new EqExpression("Businessname", businessname), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中));

            return(bt.Id);
        }
示例#2
0
        public static Businesstype getById(int id)
        {
            Businesstype bs = BusinesstypeDao.FindFirst(new EqExpression("Id", id), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中));

            return(bs);
        }