OK , Database added

This commit is contained in:
2019-01-17 23:44:40 +01:00
parent cd91acdf53
commit 3b75b8377d
7 changed files with 300 additions and 1 deletions

View File

@ -20,6 +20,8 @@ namespace Vidly.Models
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public DbSet<Customer> Customers { get; set; }
public ApplicationDbContext()
: base("DefaultConnection", throwIfV1Schema: false)
{