18 lines
528 B
C#
18 lines
528 B
C#
using DigitalData.UserManager.Domain.Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace DigitalData.UserManager.Infrastructure.Repositories
|
|
{
|
|
public class UserManagerDbContext : DbContext
|
|
{
|
|
public UserManagerDbContext(DbContextOptions<UserManagerDbContext> options) : base(options)
|
|
{
|
|
}
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
modelBuilder.ConfigureUserManager();
|
|
base.OnModelCreating(modelBuilder);
|
|
}
|
|
}
|
|
} |