/// <summary> /// 删除实体 /// </summary> /// <param name="entity">实体对象</param> /// <returns>操作影响的行数</returns> public int Delete(APILogInfo entity) { return(Repository.Delete(entity)); }
/// <summary> /// 插入实体 /// </summary> /// <param name="entity">实体对象</param> /// <returns>操作影响的行数</returns> public int Insert(APILogInfo entity) { return(Repository.Insert(entity)); }
/// <summary> /// 异步更新实体对象 /// </summary> /// <param name="entity">更新后的实体对象</param> /// <returns>操作影响的行数</returns> public Task <int> UpdateAsync(APILogInfo entity) { return(Repository.UpdateAsync(entity)); }
/// <summary> /// 异步删除实体 /// </summary> /// <param name="entity">实体对象</param> /// <returns>操作影响的行数</returns> public Task <int> DeleteAsync(APILogInfo entity) { return(Repository.DeleteAsync(entity)); }
/// <summary> /// 异步插入实体 /// </summary> /// <param name="entity">实体对象</param> /// <returns>操作影响的行数</returns> public Task <int> InsertAsync(APILogInfo entity) { return(Repository.InsertAsync(entity)); }
/// <summary> /// 更新实体对象 /// </summary> /// <param name="entity">更新后的实体对象</param> /// <returns>操作影响的行数</returns> public int Update(APILogInfo entity) { return(Repository.Update(entity)); }