Establishes a link between DbUserProfile and DbApplicationUser, allowing for better management of user-related information and integration with ASP.NET Identity. Renames DbUser to DbUserProfile and updates related entities and configurations.
12 lines
No EOL
339 B
C#
12 lines
No EOL
339 B
C#
using DrinkRateAPI.DbEntities;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace DrinkRateAPI.Contexts;
|
|
|
|
public class IdentityDbContext : IdentityDbContext<DbApplicationUser>
|
|
{
|
|
public IdentityDbContext(DbContextOptions<IdentityDbContext> options) :
|
|
base(options)
|
|
{ }
|
|
} |