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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
mani kandanPosted Sep 13, 2021, 12:28 PM
Sachin SinghPosted Sep 9, 2021, 2:02 PM
Srinivasan RamamoorthiPosted Sep 9, 2021, 9:46 AM
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)