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

25 lines
593 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 System.ComponentModel.DataAnnotations.Schema;
using Model;
namespace EntityFrameworkLOL.Entities
{
public class SkillEntity
{
[Key]
public string Name { get; set; }
public string Description { get; set; }
[Required]
public SkillType Type { get; set; }
public virtual ICollection<ChampionEntity> Champions { get; set; }
}
}