Examples (8)
Update the database to a specified migration
dotnet ef database update migrationDrop the database
dotnet ef database dropList available `DbContext` types
dotnet ef dbcontext listGenerate code for a `DbContext` and entity types for a database
dotnet ef dbcontext scaffold connection_string providerAdd a new migration
dotnet ef migrations add nameRemove the last migration, rolling back the code changes that were done for the latest migration
dotnet ef migrations removeList available migrations
dotnet ef migrations listmade by @shridhargupta | data from tldr-pages