BusinessLogic.Migrations.AddNotesAndCreatedByApplicationUserIdToPlayedGame.Up C# (CSharp) Метод

Up() публичный Метод

public Up ( ) : void
Результат void
        public override void Up()
        {
            AddColumn("dbo.PlayedGame", "CreatedByApplicationUserId", c => c.String(maxLength: 128));
            AddColumn("dbo.PlayedGame", "Notes", c => c.String());
            CreateIndex("dbo.PlayedGame", "CreatedByApplicationUserId");
            AddForeignKey("dbo.PlayedGame", "CreatedByApplicationUserId", "dbo.AspNetUsers", "Id");
        }
        
AddNotesAndCreatedByApplicationUserIdToPlayedGame