IdentityDbContext.cs 480 B

123456789101112131415
  1. using Infrastructure.Persistence.Identity;
  2. using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore;
  4. namespace Infrastructure.Persistence;
  5. public sealed class IdentityDbContext : IdentityDbContext<ApplicationUser>
  6. {
  7. public IdentityDbContext(DbContextOptions<IdentityDbContext> options) : base(options) { }
  8. protected override void OnModelCreating(ModelBuilder modelBuilder)
  9. {
  10. base.OnModelCreating(modelBuilder);
  11. }
  12. }