示例#1
0
        /// <summary>
        /// 增加一条数据
        /// </summary>
        /// <param name="entity"></param>
        public int AddEntity(ServPlanPersonModel entity)
        {
            int id = (int)mapContext.Insert("InsertPlanPerson", entity);

            return(id);
        }
示例#2
0
        /// <summary>
        /// 更新一条数据
        /// </summary>
        /// <param name="model"></param>
        public int UpdatePlanPersonById(ServPlanPersonModel model)
        {
            int result = mapContext.Update("UpdatePlanPersonById", model);

            return(result);
        }
示例#3
0
 public bool UpdateEntity(int id, ServPlanPersonModel newentity)
 {
     throw new NotImplementedException();
 }