using Elsa.EntityFrameworkCore; using Elsa.Secrets.Management; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore; namespace Elsa.Secrets.Persistence.EntityFrameworkCore; /// DB context for the secrets module. [UsedImplicitly] public class SecretsDbContext : ElsaDbContextBase { /// public SecretsDbContext(DbContextOptions options, IServiceProvider serviceProvider) : base(options, serviceProvider) { } /// The API Keys DB set. public DbSet Secrets { get; set; } = default!; /// protected override void OnModelCreating(ModelBuilder modelBuilder) { var configuration = new Configurations(); modelBuilder.ApplyConfiguration(configuration); base.OnModelCreating(modelBuilder); } }