using SqlSugar; namespace DS.Module.SqlSugar; public interface ISaasDbService { /// /// 获取业务库 /// /// public ISqlSugarClient GetBizDb(); /// /// 获取业务库 /// /// public ISqlSugarClient GetMasterDb(); /// /// 主库根据Id获取业务库Scope /// /// /// public SqlSugarScopeProvider GetBizDbScopeById(object configId); /// /// 获取业务库Scope /// /// public SqlSugarScopeProvider GetMasterDbScope(); /// /// 获取日志库信息 /// /// public SqlSugarScopeProvider GetLogDb(); /// /// 获取任务库 /// /// /// public SqlSugarScopeProvider GetBizJobDbScopeById(JobDbInitConfig conf); /// /// 获取任务库 /// /// /// public SqlSugarScopeProvider GetBizJobDbScopeExtById(JobDbInitConfig conf); }