public int UpdateGridInfoById(ServGridInfoModel model) { int result = mapContext.Update("UpdateGridInfo", model); return(result); }
public bool UpdateEntity(int id, ServGridInfoModel newentity) { throw new NotImplementedException(); }
public int AddEntity(ServGridInfoModel entity) { int id = (int)mapContext.Insert("InsertGridInfo", entity); return(id); }