mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-20 00:16:37 +08:00
27 lines
730 B
C#
27 lines
730 B
C#
|
|
using Volo.Abp.Modularity;
|
|||
|
|
using Yi.Abp.Domain;
|
|||
|
|
using Yi.Abp.SqlSugarCore;
|
|||
|
|
using Yi.Framework.Bbs.SqlSugarCore;
|
|||
|
|
using Yi.Framework.Mapster;
|
|||
|
|
using Yi.Framework.Rbac.SqlSugarCore;
|
|||
|
|
using Yi.Framework.SqlSugarCore;
|
|||
|
|
|
|||
|
|
namespace Yi.Abp.SqlsugarCore
|
|||
|
|
{
|
|||
|
|
[DependsOn(
|
|||
|
|
typeof(YiAbpDomainModule),
|
|||
|
|
|
|||
|
|
typeof(YiFrameworkRbacSqlSugarCoreModule),
|
|||
|
|
typeof(YiFrameworkBbsSqlSugarCoreModule),
|
|||
|
|
|
|||
|
|
typeof(YiFrameworkMapsterModule),
|
|||
|
|
typeof(YiFrameworkSqlSugarCoreModule)
|
|||
|
|
)]
|
|||
|
|
public class YiAbpSqlSugarCoreModule : AbpModule
|
|||
|
|
{
|
|||
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|||
|
|
{
|
|||
|
|
context.Services.AddYiDbContext<YiDbContext>();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|