Exemple #1
0
 protected void Before(MigrationBuilder migrationBuilder)
 {
     migrationBuilder.DropPrimaryKey("PK_Ignore", "Ignore", TargetModel.GetDefaultSchema());
 }
Exemple #2
0
 protected void After(MigrationBuilder migrationBuilder)
 {
     migrationBuilder.AddPrimaryKey("PK_Ignore", "Ignore", new [] { "UserId", "Pokemon" }, TargetModel.GetDefaultSchema());
 }