IdentityDbContext.cs 514 B

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