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.

25 lines
515 B
C#

using SqlSugar;
namespace DS.Module.SqlSugar;
public interface ISaasDbService
{
/// <summary>
/// 获取业务库
/// </summary>
/// <returns></returns>
public ISqlSugarClient GetBizDb();
/// <summary>
/// 获取业务库
/// </summary>
/// <returns></returns>
public ISqlSugarClient GetMasterDb();
/// <summary>
/// 主库根据Id获取业务库
/// </summary>
/// <returns></returns>
public ISqlSugarClient GetBizDbById(string configId);
}