namespace Admin.NET.Core;
///
/// SqlSugar仓储类
///
///
public class SqlSugarRepository : SimpleClient where T : class, new()
{
// protected ITenant itenant = null; // 多租户事务
public SqlSugarRepository(ISqlSugarClient context = null) : base(context) // 默认值等于null不能少
{
base.Context = App.GetService().AsTenant().GetConnectionWithAttr();
//itenant = App.GetService().AsTenant() ;
}
}