24 lines
720 B
C#
24 lines
720 B
C#
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace PSTW_CentralSystem.DBContext
|
|
{
|
|
public class AuthDBContext : IdentityDbContext<IdentityUser, IdentityRole, string>
|
|
{
|
|
private readonly IWebHostEnvironment _hostingEnvironment;
|
|
public AuthDBContext(DbContextOptions<AuthDBContext> options, IWebHostEnvironment hostingEnvironment) : base(options)
|
|
{
|
|
_hostingEnvironment = hostingEnvironment;
|
|
}
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
base.OnModelCreating(modelBuilder);
|
|
}
|
|
|
|
|
|
}
|
|
}
|