i have created table by using first code approach method(add-migration initial). so, i want to create one more table in that .net project project. how should i do??? i cannot migrate any tables after initial migration. what should i do?
Loading
i have created table by using first code approach method(add-migration initial). so, i want to create one more table in that .net project project. how should i do??? i cannot migrate any tables after initial migration. what should i do?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Sep 9, 2021, 10:02 AM EDT
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Sep 9, 2021, 5:46 AM EDT
You have to implement database initialization strategies inorder to update the database model. Below are the few ways how you can follow
Refer URL Simple Code-First Example (entityframeworktutorial.net)
mani kandan16 reputationPosted Sep 13, 2021, 8:28 AM EDT