Reacting to EF API changes

This commit is contained in:
ajcvickers 2014-10-15 18:04:55 -07:00
parent f960f2ca35
commit 033dc2e235
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ namespace MusicStore.Models
{
b.Key(o => o.OrderId);
b.Property(o => o.OrderId)
.ColumnName("[Order]");
.ForRelational().Column("[Order]");
});
builder.Entity<Genre>().Key(g => g.GenreId);