chore 抽象微服务基本类库
This commit is contained in:
21
shared/KonSoft.Shared.Hosting/KonSoftSharedHostingModule.cs
Normal file
21
shared/KonSoft.Shared.Hosting/KonSoftSharedHostingModule.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using Volo.Abp.Autofac;
|
||||
using Volo.Abp.Data;
|
||||
using Volo.Abp.Modularity;
|
||||
|
||||
namespace KonSoft.Shared.Hosting
|
||||
{
|
||||
[DependsOn(
|
||||
typeof(AbpAutofacModule),
|
||||
typeof(AbpDataModule)
|
||||
)]
|
||||
public class KonSoftSharedHostingModule : AbpModule
|
||||
{
|
||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
||||
{
|
||||
Configure<AbpDbConnectionOptions>(options =>
|
||||
{
|
||||
// TODO Mapping DbConnections
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user