Reacting to EF API changes
This commit is contained in:
parent
f960f2ca35
commit
033dc2e235
|
|
@ -40,7 +40,7 @@ namespace MusicStore.Models
|
||||||
{
|
{
|
||||||
b.Key(o => o.OrderId);
|
b.Key(o => o.OrderId);
|
||||||
b.Property(o => o.OrderId)
|
b.Property(o => o.OrderId)
|
||||||
.ColumnName("[Order]");
|
.ForRelational().Column("[Order]");
|
||||||
});
|
});
|
||||||
|
|
||||||
builder.Entity<Genre>().Key(g => g.GenreId);
|
builder.Entity<Genre>().Key(g => g.GenreId);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue