8/30/21

.net core learning

  1. if you are invoking database details usint Repository patter then use AddTransient to dependency injection in start up.cs
  2. user Entity Framework Core Tools for the NuGet Package Manager which

  • Enables these commonly used commands:
    1. Add-Migration
    2. Drop-Database
    3. Get-DbContext
    4. Get-Migration
    5. Remove-Migration
    6. Scaffold-DbContext
    7. Script-Migration
    8. Update-Database

    No comments: