So far, we applied all migrations using Visual Studio. This works really well when developers are working on features inside Visual Studio. However, when it comes to updating, testing, or production environments, this approach does not really work.
In order to update such software installations, we are given more options, which are as follows:
We can easily generate a script by running the
Update-Database commandlet with the
Script parameter inside the same Package Manager Console window, using the following code line:
As soon as this commandlet completes, the generated script will be opened. It will ...