You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
670 B
C#

using SqlSugar;
namespace DS.WMS.PrintApi.Middleware
{
public interface ISaasDbService
{
/// <summary>
/// 获取业务库
/// </summary>
/// <returns></returns>
public ISqlSugarClient GetMasterDb();
/// <summary>
/// 主库根据Id获取业务库Scope
/// </summary>
/// <param name="configId"></param>
/// <returns></returns>
public SqlSugarScopeProvider GetBizDbScopeById(object configId);
/// <summary>
/// 获取业务库Scope
/// </summary>
/// <returns></returns>
public SqlSugarScopeProvider GetMasterDbScope();
}
}