- if you are invoking database details usint Repository patter then use AddTransient to dependency injection in start up.cs
- user Entity Framework Core Tools for the NuGet Package Manager which
- Add-Migration
- Drop-Database
- Get-DbContext
- Get-Migration
- Remove-Migration
- Scaffold-DbContext
- Script-Migration
- Update-Database
No comments:
Post a Comment