BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
LAST DAY 1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

Entity Configuration? #3651


User avatar
0
guven.uysall created
  • ABP Framework version: v5.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hi support, We created our project with Abp Suite. We made our entity configurations(index,dbSchema,TablePrefix,decimal(18,5) column,etc..) in the model builder in DbContext. But when we recreate the same entity with the suite, it deletes the configurations we made for the entity. What is your suggestion for this. Where should we make the entity configurations created with the suite?

Thanks


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

    Hi @guven.uysall, if you want to apply entity configurations (table prefix, column, etc.) to all new generated entities, you can edit the templates from Suite.


    Example: You can edit the Server.Entity.Partials.ConfigureEntity.txt template and add additional configurations for an entity.

    See the documentation.


    If you only want to keep changes for certain entities, you should handle it yourself.

  • User Avatar
    0
    guven.uysall created

    thanks engin.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.