/// <summary> /// 更新一条数据 /// </summary> /// <param name="model"></param> public int UpdatePlanHandleItemCameraById(ServPlanHandleItemCameraModel model) { int result = mapContext.Update("UpdatePlanHandleItemCameraById", model); return(result); }
public bool UpdateEntity(int id, ServPlanHandleItemCameraModel newentity) { throw new NotImplementedException(); }
/// <summary> /// 增加一条数据 /// </summary> /// <param name="entity"></param> public int AddEntity(ServPlanHandleItemCameraModel entity) { int id = (int)mapContext.Insert("InsertPlanHandleItemCamera", entity); return(id); }