You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFrameworkCore.Jet/test/EFCore.Jet.IntegrationTests/MigrationUpDownTest/SimpleMigration.cs

17 lines
459 B
C#

namespace EFCore.Jet.Integration.Test.MigrationUpDownTest
{
public class SimpleMigration : DbMigration
{
public override void Up()
{
CreateTable(
"SimpleMigrationTest",
c => new
{
Id = c.Int(nullable: false, identity: true),
Description = c.String(false, 50)
})
.PrimaryKey(t => t.Id);
}
}
}