using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using PCC.Data.Models; using PCC.Data.Models.Parts; namespace PCC.Data { public class PCCDbContext : IdentityDbContext { public DbSet Settings { get; set; } public DbSet ParameterSettings { get; set; } public DbSet Softwares { get; set; } public DbSet GPUs { get; set; } public DbSet HardDisks { get; set; } public DbSet Motherboards { get; set; } public DbSet PowerSupplies { get; set; } public DbSet Processors { get; set; } public DbSet RAMs { get; set; } public PCCDbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder builder) { base.OnModelCreating(builder); } } }