markjprice/cs12dotnet8

Chapter 12 Page 645

pmarangoni opened this issue · 2 comments

  1. 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.

image

The book instructions are for SQLite not SQL Server so step 11 does not apply to you.