How to create primary migrations of entity code without using the package manager console?

Does anyone know how to create primary migrations of the root code of an entity without using the package manager console?

I had a significant problem where sometimes adding-reconfiguring or updating the database is done, which causes the visual studio to freeze. I ultimately have to kill the process and restart the visual studio in order to start working again, and this is very annoying.

I was not able to track this problem and I am trying to separate the creation and start of migration from visual studio. I found the article below that explains how to perform migrations, but it does not create migrations.

https://msdn.microsoft.com/en-us/data/jj618307.aspx

Any help would be greatly appreciated.

+6
source share

Source: https://habr.com/ru/post/988724/


All Articles