You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LOLProject/Sources/EntityFrameworkLOL/Entities/RuneFamilyEntity.cs

21 lines
480 B

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 RuneFamilyEntity
{
[Key]
[ForeignKey("RuneEntity")]
public int Id { get; set; }
public RuneFamily Family { get; set; }
}
}