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.
38 lines
1.0 KiB
38 lines
1.0 KiB
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.Xml.Linq;
|
|
using System.Collections.ObjectModel;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Model;
|
|
using static System.Net.Mime.MediaTypeNames;
|
|
using System.Reflection.PortableExecutable;
|
|
using System.Security.Claims;
|
|
|
|
namespace EntityFrameworkLOL.Entities
|
|
{
|
|
class ChampionEntity
|
|
{
|
|
[Key]
|
|
public string Name { get; set; }
|
|
|
|
public string Bio { get; set; }
|
|
|
|
public string Icon { get; set; }
|
|
|
|
[NotMapped]
|
|
public Dictionary<string, int> Characteristics { get; set; }
|
|
// Switch Dictionary to List puis faudra juste mapper la liste en dico
|
|
|
|
public ChampionClassEntity Class { get; set; }
|
|
|
|
public ImageEntity Image { get; set; }
|
|
|
|
//[NotMapped]
|
|
public virtual ICollection<SkillEntity> Skills { get; set; }
|
|
}
|
|
} |