Class InitialCreate
Inheritance
System.Object
Microsoft.EntityFrameworkCore.Migrations.Migration
InitialCreate
Inherited Members
Microsoft.EntityFrameworkCore.Migrations.Migration.InitialDatabase
Microsoft.EntityFrameworkCore.Migrations.Migration.TargetModel
Microsoft.EntityFrameworkCore.Migrations.Migration.UpOperations
Microsoft.EntityFrameworkCore.Migrations.Migration.DownOperations
Microsoft.EntityFrameworkCore.Migrations.Migration.ActiveProvider
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Snowflake.Model.Database.Migrations
Assembly: Snowflake.Framework.dll
Syntax
[DbContext(typeof(DatabaseContext))]
[Migration("20200426014221_InitialCreate")]
public class InitialCreate : Migration
Methods
BuildTargetModel(ModelBuilder)
Declaration
protected override void BuildTargetModel(ModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
modelBuilder |
Overrides
Microsoft.EntityFrameworkCore.Migrations.Migration.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)
Down(MigrationBuilder)
Declaration
protected override void Down(MigrationBuilder migrationBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
migrationBuilder |
Overrides
Microsoft.EntityFrameworkCore.Migrations.Migration.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)
Up(MigrationBuilder)
Declaration
protected override void Up(MigrationBuilder migrationBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
migrationBuilder |
Overrides
Microsoft.EntityFrameworkCore.Migrations.Migration.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)