using LINGYUN.Abp.TaskManagement; using LINGYUN.Abp.TaskManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Volo.Abp.Data; using Volo.Abp.EntityFrameworkCore; namespace LINGYUN.Abp.MicroService.TaskService; [ConnectionStringName("Default")] public class TaskServiceMigrationsDbContext : AbpDbContext, ITaskManagementDbContext { public DbSet BackgroundJobInfos { get; set; } public DbSet BackgroundJobLogs { get; set; } public DbSet BackgroundJobAction { get; set; } public TaskServiceMigrationsDbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); modelBuilder.ConfigureTaskManagement(); } }