Movies included in database as well and handled in site

This commit is contained in:
2019-01-21 20:52:22 +01:00
parent 19fc2475fa
commit f5a597fcdb
33 changed files with 1418 additions and 59 deletions

View File

@ -0,0 +1,18 @@
namespace Vidly.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class BirthdateInCustomer : DbMigration
{
public override void Up()
{
AddColumn("dbo.Customers", "BirthDate", c => c.DateTime());
}
public override void Down()
{
DropColumn("dbo.Customers", "BirthDate");
}
}
}