isn/Data/ApplicationDbContext.cs

21 lines
544 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using nuget_host.Models;
3 years ago
using nuget_host.Models.ApiKeys;
namespace nuget_host.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
3 years ago
public DbSet<ApiKey> ApiKeys { get; set; }
}
}