فتح مغلق

Entity Configuration? #3651


User avatar
0
guven.uysall خلقت
  • 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 إجابة (إجابات)
  • User Avatar
    0
    EngincanV خلقت
    فريق الدعم .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 خلقت

    thanks engin.

Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11