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,15 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LaDOSE.Entity
{
public class Season
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public virtual IEnumerable<SeasonGame> Games { get; set; }
}
}