using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using VolPro.Core.EFDbContext;
using VolPro.Core.Enums;
using VolPro.Core.Filters;
using VolPro.Core.Middleware;
using VolPro.Core.UserManager;
using VolPro.Core.Utilities;
using VolPro.Entity.DomainModels;
namespace VolPro.Core.Generic
{
///
/// 不同数据库类型的通用 CRUD 提供接口
///
public interface IGenericDbProvider
{
///
/// 查询
///
///
///
///
Task> GetPageDataAsync(PageDataOptions options, bool isDetail = false);
///
/// 明细查询
///
///
///
Task> GetDetailPageAsync(PageDataOptions options);
///
/// 添加
///
///
///
Task AddAsync(SaveModel saveModel);
///
/// 编辑
///
///
///
Task UpdateAsync(SaveModel saveModel);
///
/// 删除
///
///
///
///
Task DelAsync(List