1

I have been following this example (https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-3.1&tabs=visual-studio) however when I start the project the database is automatically created just fine, but no tables are generated in the Azure SQL database. Will add code if required but I wonder if someone has run into this before and can easily answer.

1 Answer 1

1

Managed to resolve this myself:

From the Tools menu, select NuGet Package Manager > Package Manager Console. At the command line I used the following commands:

  1. add-migration InitialCreate
  2. Update-Database
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.