Infrastructure API: managed by Entity Framework Core. Use
MeshlineDatabase.MigrateAsyncto apply the database schema.
Members on this page
Meshline.Sdk
Meshline.Storage.Migrations
InitialCreate Class
Entity Framework Core migration infrastructure. Applications apply the schema through MeshlineDatabase.MigrateAsync; do not invoke migration operations directly.
public class InitialCreate : Microsoft.EntityFrameworkCore.Migrations.Migration
Inheritance System.Object → Microsoft.EntityFrameworkCore.Migrations.Migration → InitialCreate
Methods
InitialCreate.BuildTargetModel(ModelBuilder) Method
Entity Framework Core migration infrastructure. Applications apply the schema through MeshlineDatabase.MigrateAsync; do not invoke migration operations directly.
protected override void BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder);
Parameters
modelBuilder Microsoft.EntityFrameworkCore.ModelBuilder
InitialCreate.Down(MigrationBuilder) Method
Entity Framework Core migration infrastructure. Applications apply the schema through MeshlineDatabase.MigrateAsync; do not invoke migration operations directly.
protected override void Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder);
Parameters
migrationBuilder Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder
InitialCreate.Up(MigrationBuilder) Method
Entity Framework Core migration infrastructure. Applications apply the schema through MeshlineDatabase.MigrateAsync; do not invoke migration operations directly.
protected override void Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder);
Parameters
migrationBuilder Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder