begin adding many-to-many between langs and lists

This commit is contained in:
Collin M. Barrett 2017-10-27 17:31:52 -05:00
parent b3c5744f97
commit 565b756280
3 changed files with 6 additions and 3 deletions

View file

@ -11,7 +11,7 @@ public class FilterList : BaseEntity
public string ForumUrl { get; set; }
public string HomeUrl { get; set; }
public string IssuesUrl { get; set; }
public List<Language> Languages { get; set; }
public ICollection<Language> Languages { get; set; }
public int MaintainerId { get; set; }
public string Name { get; set; }
public string ViewUrl { get; set; }

View file

@ -1,7 +1,10 @@
namespace FilterLists.Data.Entities
using System.Collections.Generic;
namespace FilterLists.Data.Entities
{
public class Language : BaseEntity
{
public ICollection<FilterList> FilterLists { get; set; }
public string Iso6391 { get; set; }
public string Iso6392 { get; set; }
public string Iso6392B { get; set; }

View file

@ -5,7 +5,7 @@ namespace FilterLists.Data.Entities
public class Maintainer : BaseEntity
{
public string Email { get; set; }
public List<FilterList> FilterLists { get; set; }
public ICollection<FilterList> FilterLists { get; set; }
public string HomeUrl { get; set; }
public string Name { get; set; }
public string TwitterHandle { get; set; }