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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using NPin.Domain ;
using NPin.Framework.AuditLogging.SqlSugarCore ;
using NPin.Framework.Mapster ;
using NPin.Framework.SqlSugarCore ;
namespace NPin.SqlSugarCore ;
[DependsOn(
typeof(NPinDomainModule),
// TODO rbac bbs codegen
typeof(NPinFrameworkAuditLoggingSqlSugarCoreModule),
// TODO tenant
typeof(NPinFrameworkMapsterModule),
typeof(NPinFrameworkSqlSugarCoreModule)
)]
public class NPinSqlSugarCoreModule : AbpModule
{
public override void ConfigureServices ( ServiceConfigurationContext context )
{
// context.Services.AddNPinDbContext<NPinDbContext>();
// 默认不开放, 可根据项目需要是否直接对外开放db
// context.Services.AddTransient(x => x.GetRequiredService<ISqlSugarDbContext>().SqlSugarClient);
}
}