Topic
dotnet ef migrations script
1 post about dotnet ef migrations script by 1 contributor.
Know dotnet ef migrations script? Share what you know with developers who are learning it.
+ Follow dotnet ef migrations scriptBe the first to follow this
- Articles
- 1
- Contributors
- 1
Articles about dotnet ef migrations script
- Article · Entity Framework
Advanced Entity Framework Core: Extract data access layer with migrations to the library project and Execute migrations from the command line
See code examples in this article: Let's imagine you have a solution with many projects including a web application with the name "MiniService", which contains appsettings.json and a library project with DbContext and Migrations with any name f.e. "MiniService.Data". You most likely want to use the exact connection string in the appsettings.json used by the web app. May be different cases when you will need to run migrations from the command line, for example, there is no 'Package Manager Console' in VS for Mac.

