You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
594 B

11 months ago
11 months ago
  1. using Microsoft.Extensions.DependencyInjection;
  2. using Shentun.Pacs.EntityFrameworkCore;
  3. using Volo.Abp.Modularity;
  4. namespace Shentun.Pacs;
  5. [DependsOn(
  6. typeof(PeisApplicationModule),
  7. typeof(PeisDomainTestModule)
  8. )]
  9. public class PeisApplicationTestModule : AbpModule
  10. {
  11. public override void ConfigureServices(ServiceConfigurationContext context)
  12. {
  13. var services = context.Services;
  14. services.AddAbpDbContext<PeisDbContext>(options =>
  15. {
  16. options.AddDefaultRepositories(true);
  17. });
  18. base.ConfigureServices(context);
  19. }
  20. }