On page 453, running the command in step 2 with the dotnet-ef version 7.0.4 creates class files that aren't exactly similar to those shown in the book. For example, the Category class doesn't have a constructor, or the two DbSet<T> properties of the Northwind class are not set to null.
On page 453, running the command in step 2 with the
dotnet-ef
version 7.0.4 creates class files that aren't exactly similar to those shown in the book. For example, the Category class doesn't have a constructor, or the twoDbSet<T>
properties of the Northwind class are not set to null.