Create a Migration with a Relationship

Ronald Rex 1,666 Reputation points
2021-12-08T22:29:16.243+00:00

Hi Friends, I have an existing Database with a Products Table and I want to create a Migration that creates a Category Table that is related to the Products Table. I am using Entity Framework Core. I have researched it and there are a lot of things to factor in and I want to make sure that I am doing this the correct way. Thanks !!!

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
764 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.