Topic
options.Options
1 post about options.Options by 1 contributor.
Know options.Options? Share what you know with developers who are learning it.
+ Follow options.OptionsBe the first to follow this
- Articles
- 1
- Contributors
- 1
Articles about options.Options
- 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.

