Use enumerations in EF models.

This commit is contained in:
2018-08-06 21:07:07 +01:00
parent b9aca7a804
commit e6378588f3
12 changed files with 1805 additions and 73 deletions

View File

@@ -2,9 +2,9 @@
{
public class News
{
public int Id { get; set; }
public string Date { get; set; }
public int Type { get; set; }
public int AddedId { get; set; }
public int Id { get; set; }
public string Date { get; set; }
public NewsType Type { get; set; }
public int AddedId { get; set; }
}
}