Files
SkyArtShop/Sky_Art_shop/Data/ApplicationDbContext.cs

19 lines
512 B
C#
Raw Normal View History

using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace SkyArtShop.Data
{
public class ApplicationUser : IdentityUser
{
public string DisplayName { get; set; } = string.Empty;
}
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
{
}
}
}