SHARE
TWEET

Untitled

a guest Feb 14th, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace Vidly.Migrations
  2. {
  3.     using System;
  4.     using System.Data.Entity.Migrations;
  5.    
  6.     public partial class ApplyAnnotationsToCustomerName : DbMigration
  7.     {
  8.         public override void Up()
  9.         {
  10.             AlterColumn("dbo.Customers", "Name", c => c.String(nullable: false, maxLength: 255));
  11.         }
  12.        
  13.         public override void Down()
  14.         {
  15.             AlterColumn("dbo.Customers", "Name", c => c.String());
  16.         }
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top