I am writing an ASP.NET Core API using Entity Framework with a code-first approach. I\'m using 2 model classes with a one-to-many relation. Generating the migrations for the