Starts in:
1 DAY
23 HRS
52 MIN
37 SEC
Starts in:
1 D
23 H
52 M
37 S
Open Closed

A question about Abp Suite - Load entity from database #4919


User avatar
0
vijay.nallala created

Hello everyone,

We are working on new projects using Abp latest version. ABP Suite done a wonderful job load entities from database and creating UI and model class. However, our existing db column naming convension is uppercase with underscore such as "HELLO_WORLD". Is there any way that we can convert that to camel case that work better with C# ? For example: HELLO_WORLD -> HelloWorld, NEW_FEATURE -> NewFeature.

  • ABP Framework version: 7.11
  • UI type: Angular
  • DB provider: EF Core

Thanks, TuTong


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can modify it in the suite:

  • User Avatar
    0
    vijay.nallala created

    Thank you for pointing that out. We are dealing with tables that have hundreds of columns. Is there anyway, we can automate that process?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    ABP will create an entity JSON file under the .suite/entities

    You can create a simple console application to read the json file and change the property format.

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