Skip to content

Simple project to warm up with migrations after years without using EF

License

Notifications You must be signed in to change notification settings

epomatti/ef-migrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entity Framework Core - Migrations

dotnet

Run it

# install dependencies
dotnet restore

# update database to the most recent migrations
dotnet ef database update

# run the app
dotnet run

Database

EF migrations helper code:

dotnet tool install --global dotnet-ef
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet ef migrations add InitialCreate
dotnet ef database update

Reference

Getting Started with EF Core

About

Simple project to warm up with migrations after years without using EF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages