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

2 years ago
2 years ago
2 years ago
  1. using Microsoft.Extensions.DependencyInjection;
  2. using Shentun.Peis.EntityFrameworkCore;
  3. using Volo.Abp.Modularity;
  4. namespace Shentun.Peis;
  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. }