Monthly Archives: March 2017

Updating DB Scaffold

To update the scaffold you need to set the force flag:

Scaffold-DbContext "Server=;Database=;user id=;password=;Trusted_Connection=True;MultipleActiveResultSets=true;Integrated Security=False" Microsoft.EntityFrameworkCore.SqlServer -f -OutputDir Models

note the -f