Starts in:
2 DAYS
6 HRS
50 MIN
21 SEC
Starts in:
2 D
6 H
50 M
21 S
Open Closed

How to get my previously created Entities back into ABP Suite after upgrade #7441


User avatar
0
okains created
  • ABP Framework version: v8.2.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server )
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi,

I just upgraded an older 8.0 project to the new 8.2 (rc5 at the time). The old project didn't have much UI, but I did have 50+ entities that I had generated code and UI for using ABP Suite. This code I wanted to keep obviously. So, I created a brand new 8.2 project with the same project name ( ESv2 ), in a new folder. Then moved all the old generated code into Domain / Shared / Application Contracts etc. Made other changes in order to get the project to work, and everything is working fined now.

However I would like access to all of my old entities somehow in ABPSuite, so that I can modify / regenerate if need be. Where would this list be stored / located? How would I move this metatdata from the old ESv2 project in ABP Suite to the new ESv2 project?

Here is a screenshot of the new empty ESv2 project :

and the old one, with Entities:

Many Thanks,

Karim


4 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    could you please check with this option once

    try to add from database

    Thanks

  • User Avatar
    0
    okains created

    I need the metadata and options that I chose when creating the entities in ABP Suite. I don't want to go backwards and try and create from a db, that will definitely cause problems in a project this size.

    There must be a location where this metadata is stored, how else do you load it into ABP Suite? Where can I find this data, so that I can continue working just as I left off.

    Thanks,

    Karim

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    You can click the folder button, and you will see the entity JSON files. copy them to your new project folder.

  • User Avatar
    0
    okains created

    OK, I was able to find the files in the .suite folder in my old project, copied them over and everything works fine now. Thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06