临河任务调度
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.

TaskSchedulingMongoDbTestModule.cs 550B

123456789101112131415161718192021
  1. using System;
  2. using Volo.Abp.Data;
  3. using Volo.Abp.Modularity;
  4. using Volo.Abp.Uow;
  5. namespace Himp.TaskScheduling.MongoDB;
  6. [DependsOn(
  7. typeof(TaskSchedulingApplicationTestModule),
  8. typeof(TaskSchedulingMongoDbModule)
  9. )]
  10. public class TaskSchedulingMongoDbTestModule : AbpModule
  11. {
  12. public override void ConfigureServices(ServiceConfigurationContext context)
  13. {
  14. Configure<AbpDbConnectionOptions>(options =>
  15. {
  16. options.ConnectionStrings.Default = MongoDbFixture.GetRandomConnectionString();
  17. });
  18. }
  19. }