dotnet-ef
Perform design-time development tasks for Entity Framework Core. tldr-pages
On several platforms
Several platforms
Update the database to a specified migration
dotnet ef database update migrationIdentifyDrop the database
dotnet ef database dropIdentifyList available DbContext types
dotnet ef dbcontext listIdentifyGenerate code for a DbContext and entity types for a database
dotnet ef dbcontext scaffold connection_string providerIdentifyAdd a new migration
dotnet ef migrations add nameIdentifyRemove the last migration, rolling back the code changes that were done for the latest migration
dotnet ef migrations removeIdentifyList available migrations
dotnet ef migrations listIdentifyGenerate an SQL script from migrations range
dotnet ef migrations script from_migration to_migrationIdentify