IDatabaseTableSqlServerService.cs 861 B

123456789101112131415161718192021222324252627
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using YiSha.Enum;
  4. using YiSha.Model.Result.SystemManage;
  5. using YiSha.Util.Model;
  6. namespace YiSha.IService.SystemManage
  7. {
  8. public partial interface IDatabaseTableSqlServerService : IDatabaseTableService
  9. {
  10. #region 获取数据
  11. Task<List<TableInfo>> GetTableList(string tableName, DBConnectTypeEnum dbConnectType);
  12. Task<List<TableInfo>> GetTablePageList(string tableName, DBConnectTypeEnum dbConnectType, Pagination pagination);
  13. Task<List<TableFieldInfo>> GetTableFieldList(string tableName, DBConnectTypeEnum dbConnectType);
  14. #endregion
  15. #region 公有方法
  16. Task<bool> DatabaseBackup(string database, string backupPath, DBConnectTypeEnum dbConnectType);
  17. #endregion
  18. #region 私有方法
  19. #endregion
  20. }
  21. }