using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using System.Text; using System.ComponentModel.DataAnnotations; using Model; using System.ComponentModel.DataAnnotations.Schema; namespace EntityFrameworkLOL.Entities { class ChampionClassEntity { [Key] [ForeignKey("ChampionEntity")] public int Id { get; set; } public ChampionClass Class { get; set; } } }