code-first migration

This commit is contained in:
Collin M. Barrett 2017-04-09 15:01:08 -05:00
parent 41b6926631
commit ecd2ceb8db

View file

@ -1,14 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FilterLists.Models
namespace FilterLists.Models
{
public class List : BaseEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public new int Id { get; set; }
public string Description { get; set; }
public string DescriptionSourceUrl { get; set; }
public string DonateUrl { get; set; }