コード例 #1
0
        /// <summary>
        /// 产品类别新增
        /// </summary>
        /// <param name="cplb"></param>
        /// <returns></returns>
        public static int CplbAdd(Models.CpLbinfo cplb)
        {
            StorageEntities b = new StorageEntities();

            b.CpLbinfo.Add(cplb);
            return(b.SaveChanges());
        }
コード例 #2
0
 //新增
 public static int CplbAdd(Models.CpLbinfo cplb)
 {
     return(DAL.LLQ.CplbService.CplbAdd(cplb));
 }