Пример #1
0
        /// <summary>
        /// 更新一条数据
        /// </summary>
        /// <param name="model"></param>
        public int UpdateSMSHandleItemResultById(ServSMSHandleItemResultModel model)
        {
            int result = mapContext.Update("UpdateSMSHandleItemResultById", model);

            return(result);
        }
Пример #2
0
 public bool UpdateEntity(int id, ServSMSHandleItemResultModel newentity)
 {
     throw new NotImplementedException();
 }
Пример #3
0
        /// <summary>
        /// 增加一条数据
        /// </summary>
        /// <param name="entity"></param>
        public int AddEntity(ServSMSHandleItemResultModel entity)
        {
            int id = (int)mapContext.Insert("InsertSMSHandleItemResult", entity);

            return(id);
        }