Test Many to many

This commit is contained in:
2018-10-06 14:16:42 +02:00
parent d3cdc93c14
commit 5bb8ecb65b
8 changed files with 142 additions and 12 deletions

View File

@@ -1,11 +1,16 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LaDOSE.Entity
{
public class Game
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public string ImgUrl { get; set; }
public virtual IEnumerable<SeasonGame> Seasons { get; set; }
}
}