Open Closed

Is it dont contain EntityFrameworkCore DbMigrations project in any new generated project? #2122


User avatar
0
LawrenceKwan created

I saw your DDD Ebook and find there should be XXXXX.EntityFrameworkCore.DbMigrations file. I have created EntityFrameworkCore datebase project but only have XXXXX.DbMigrator and dont contain XXXXX.EntityFrameworkCore.DbMigrations.

Is it normal?

  • ABP Framework version: v4.4.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

2 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @LawrenceKwan, *.EntityFrameworkCore.DbMigrations project is removed from the solution. From v4.4.4 DbContexts are unified in the *.EntityFrameworkCore project. (See the related issue)

    • If you wonder why the *.EntityFrameworkCore.DbMigrations project is removed and DbContexts are unified you can read this article.
  • User Avatar
    0
    LawrenceKwan created

    Hi @LawrenceKwan, *.EntityFrameworkCore.DbMigrations project is removed from the solution.
    From v4.4.4 DbContexts are unified in the *.EntityFrameworkCore project. (See the related issue)

    • If you wonder why the *.EntityFrameworkCore.DbMigrations project is removed and DbContexts are unified you can read this article.

    Thanks. This is closed, if you have time please help on this https://support.abp.io/QA/Questions/2118#answer-21afbbbd-07da-93c0-3a6b-3a002601825f

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19