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/RuneEntity.cs

26 lines
583 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;
namespace EntityFrameworkLOL.Entities
{
public class RuneEntity
{
[Key]
public string Name { get; set; }
public string Description { get; set; }
public ImageEntity Image { get; set; }
[Required]
public RuneFamily Family { get; set; }
public ICollection<RunePageEntity> RunePages { get; set; }
}
}