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

21 lines
594B

  1. using Microsoft.EntityFrameworkCore;
  2. using Volo.Abp.EntityFrameworkCore;
  3. namespace Himp.TaskScheduling.EntityFrameworkCore;
  4. public class TaskSchedulingHttpApiHostMigrationsDbContext : AbpDbContext<TaskSchedulingHttpApiHostMigrationsDbContext>
  5. {
  6. public TaskSchedulingHttpApiHostMigrationsDbContext(DbContextOptions<TaskSchedulingHttpApiHostMigrationsDbContext> options)
  7. : base(options)
  8. {
  9. }
  10. protected override void OnModelCreating(ModelBuilder modelBuilder)
  11. {
  12. base.OnModelCreating(modelBuilder);
  13. modelBuilder.ConfigureTaskScheduling();
  14. }
  15. }