Files
Pf2eDataScrapper/Documentation/Pf2eModel/_1.Up(MigrationBuilder).md
T

1.6 KiB

Pf2eModel

Pf2eModel.Migrations._1

_1.Up(MigrationBuilder) Method

Builds the operations that will migrate the database 'up'.

protected override void Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder);

Parameters

migrationBuilder Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder

The Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder that will build the operations.

Remarks

That is, builds the operations that will take the database from the state left in by the previous migration so that it is up-to-date with regard to this migration.

This method must be overridden in each class that inherits from Microsoft.EntityFrameworkCore.Migrations.Migration.

See Database migrations for more information and examples.