namespace MiaoYu.Core.CodeGenerator.Services; /// /// 表结构缓存接口 /// public interface ITableSchemaCache : IScopedDependency { /// /// 获取所有表信息(从缓存或数据库) /// /// List GetAllTables(); /// /// 刷新缓存 /// void RefreshCache(); /// /// 清除缓存 /// void ClearCache(); /// /// 根据数据库和表名获取表信息 /// /// 数据库标识 /// 表名 /// DbTableInfo? GetTable(string databaseKey, string tableName); }