Required packages for database installation;
- Microsoft.EntityFrameworkCore.SqlServer
- Microsoft.EntityFrameworkCore.Tools
Connection string;
- Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;TrustServerCertificate =true;
Migration codes;
- Add-Migration "Initial Migration"
- Update-Database
- Remove-Migration
- Get-Migration
- Remove-Migration -Force