Chapter 12 Page 645
pmarangoni opened this issue · 2 comments
pmarangoni commented
- In EmployeeTerritory.cs, make the TerritoryId property required.
There is EmployeeTerritory.cs class file in the project (I'm using SQL Server not SQLite). That lookup table is dealt with in the NorthwindContext.cs file in the function OnModelCreating.
markjprice commented
markjprice commented
I've added an improvement item for this:
https://github.com/markjprice/cs12dotnet8/blob/main/docs/errata/improvements.md#page-634---creating-the-northwind-database