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
    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
    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.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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 December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.