using Microsoft.AspNetCore; using Microsoft.EntityFrameworkCore; using Models.Classes; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.AspNetCore.Identity; namespace API.Database { public class DevHiveContext : IdentityDbContext { public DevHiveContext(DbContextOptions options) : base(options) { } public DbSet Technologies { get; set; } public DbSet Languages { get; set; } protected override void OnModelCreating(ModelBuilder builder) { builder.Entity() .HasKey(x => x.Id); builder.Entity() .HasKey(x => x.Id); builder.Entity() .HasKey(x => x.Id); base.OnModelCreating(builder); } } }