-
Notifications
You must be signed in to change notification settings - Fork 73
EFMigration
ZhangYang edited this page Sep 7, 2019
·
2 revisions
If you want to change Entity framework read model, please follow EF migration steps:
- Update data structures in ReadModelDbContext
- Go to
RestAirline/src/RestAirline.ReadModel.EntityFramework
folder dotnet ef migrations add "migration names"
dotnet ef database update
During development, you can use below command for drop readmodel:
USE master;
GO
ALTER DATABASE RestAirlineRead SET SINGLE_USER WITH ROLLBACK IMMEDIATE;DROP DATABASE RestAirlineRead;
GO
-
Getting started
-
ASP.NET Core
-
Docker & Docker-compose
-
Hypermedia API
-
EntityFramework ReadModel
-
MongoDb ReadModel
-
Elasticseach ReadModel
-
DDD
-
Domain