示例#1
0
 public static Businesstype[] getRatio2()
 {
     Businesstype[] ratio = BusinesstypeDao.FindAll(new EqExpression("Businessclass", (int)EnmCalbeClass.专网), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中));
     return(ratio);
 }
示例#2
0
        public static Businesstype getById(int id)
        {
            Businesstype bs = BusinesstypeDao.FindFirst(new EqExpression("Id", id), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中));

            return(bs);
        }
示例#3
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);
        }
示例#4
0
 public static Businesstype[] getAllBusinessType()
 {
     Businesstype[] bs = BusinesstypeDao.FindAll(new Order("Businessclass", true), new EqExpression("Isdeleted", (int)EnmIsdeleted.使用中));
     return(bs);
 }