示例#1
0
        //新增
        public static int JldwAdd(Models.JLinfo jldw)
        {
            StorageEntities b = new StorageEntities();

            b.JLinfo.Add(jldw);
            return(b.SaveChanges());
        }
示例#2
0
 /// <summary>
 /// 计量单位新增
 /// </summary>
 /// <param name="jldw"></param>
 /// <returns></returns>
 public static int JldwAdd(Models.JLinfo jldw)
 {
     return(DAL.LLQ.JldwService.JldwAdd(jldw));
 }