Database migration Open Package Console Manager (Under Tools\Nuget Package Manager in the main menu), Select .EntityFramework project as Default project and run Update-Database command.
I am getting error at this step. Please advise.
Can you write some details. What is the exact error? Also, check these:
- Are you using Visual Studio 2013?
- Did you restored all nuget packages (Project is configured to automatically restore, if not right click solution and choice 'Enable Nuget Package Restore' and build again).
- Have you installed SQL Server?
Also, you can try to provide a connection string if needed, similar shown below:
Update-Database -ConnectionString "Server=localhost; Database=YOUR_DATABASE_NAME; User=sa;Password=YOUR_PASSWORD;" -ConnectionProviderName "System.Data.SqlClient" -Verbose -ProjectName "YOUR_PROJECT.EntityFramework"