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

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    guven.uysall created

    thanks engin.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.