Database First - Proper Case capitalization of Classes and Methods

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
jagmagh
Posts: 7
Joined: Fri 23 Jun 2017 07:34

Database First - Proper Case capitalization of Classes and Methods

Post by jagmagh » Fri 23 Jun 2017 07:38

I am using Entity Developer in Database First approach to generate my entity classes from an existing Oracle database.

Being a legacy database, we do not have control to change / edit the current schema which is in UPPERCASE being the oracle default.

I tried using "FirstLetterCapital" but because the database schema is ALL CAPITAL, that has no effect on the naming and the Class / Properties are still in CAPITAL after using that option.

I would like my Entity Classes / Properties generated by Entity Developer to however be in ProperCase i.e. COMPANY should become Company or USERPROFILE should become UserProfile.

Is it possible to do this using Entity Developer?

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: Database First - Proper Case capitalization of Classes and Methods

Post by Pinturiccio » Fri 23 Jun 2017 16:04

Use Capitalized instead of FirstLetterUppercase. Is this what you want?

jagmagh
Posts: 7
Joined: Fri 23 Jun 2017 07:34

Re: Database First - Proper Case capitalization of Classes and Methods

Post by jagmagh » Mon 03 Jul 2017 09:41

@Pinturiccio - yes that was exactly what i wanted. I just didnt realise it till i tried it out after reading your comment. Thanks a lot.

Post Reply