Reverse engineering an existing database and convert it to code first using ASP.NET Core 5.0 and Entity Framework 5.0
1- Install Nuget Packages :
Microsoft.EntityFrameworkCore
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.SqlServer (if you are using MS SQL Server)