using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.AspNetCore.DataProtection.EntityFrameworkCore; namespace OpenWarehouse.auth.api.Data { public class ApplicationDbContext : IdentityDbContext, IDataProtectionKeyContext { public ApplicationDbContext(DbContextOptions options) : base(options) { } public virtual DbSet ApplicationUsers { get; set; } public virtual DbSet ApplicationRoles { get; set; } public DbSet ApplicationUserTokenRepositories { get; set; } public DbSet RegisterTokens { get; set; } public DbSet RolePrivilages { get; set; } public DbSet DataProtectionKeys { get; set; } } }