Reading from database

This commit is contained in:
2019-01-19 17:08:56 +01:00
parent 25dc803cfd
commit 19fc2475fa
14 changed files with 607 additions and 13 deletions

View File

@ -0,0 +1,18 @@
namespace Vidly.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ApplyAnnotationsToCustomerName : DbMigration
{
public override void Up()
{
AlterColumn("dbo.Customers", "Name", c => c.String(nullable: false, maxLength: 255));
}
public override void Down()
{
AlterColumn("dbo.Customers", "Name", c => c.String());
}
}
}