Пример #1
0
        /// <summary>
        /// 产品管理新增
        /// </summary>
        /// <param name="cpgl"></param>
        /// <returns></returns>
        public static int CpGlAdd(Models.CpGlinfo cpgl)
        {
            StorageEntities b = new StorageEntities();

            b.CpGlinfo.Add(cpgl);
            return(b.SaveChanges());
        }
Пример #2
0
 public static int CpGlAdd(Models.CpGlinfo cpgl)
 {
     return(DAL.LLQ.CpGlService.CpGlAdd(cpgl));
 }