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
557 B
C#

11 months ago
using SqlSugar;
namespace NPin.Framework.SqlSugarCore.Abstractions;
public interface ISqlSugarDbContext
{
/// <summary>
/// Db 客户端
/// </summary>
ISqlSugarClient SqlSugarClient { get; }
/// <summary>
/// 连接配置
/// </summary>
DbConnOptions Options { get; }
/// <summary>
/// 备份数据库
/// </summary>
void Backup();
/// <summary>
/// 设置客户端
/// </summary>
/// <param name="sqlSugarClient"></param>
void SetSqlSugarClient(ISqlSugarClient sqlSugarClient);
}