oracle / dotnet-db-samples

.NET code samples for Oracle database developers #OracleDotNet
http://otn.oracle.com/dotnet
MIT License
408 stars 190 forks source link

[QUESTION] Can be name convention on udt class generation changed? #370

Closed gpgpublickey closed 3 months ago

gpgpublickey commented 3 months ago

I would like to map the udt class with auto mapper to a DTO and my udt class is being generated in uppercasing + underscore following the name in the table column, there is a configuration I can use to change it to pascal casing to match the naming convention we use for dtos?

alexkeh commented 3 months ago

ODP.NET doesn't have a configuration setting to convert DB object names to Pascal case in .NET.

gpgpublickey commented 3 months ago

Just to clarify im referring to the naming of the properties in the udt generated class.

alexkeh commented 3 months ago

Are you asking the .NET classes Oracle Developer Tools for Visual Studio auto-generate from Oracle DB UDTs?

gpgpublickey commented 3 months ago

Yes correct those!, because property names are being generated with the same name from column instead to use a naming convention like pascal case or camel case, have that capacity would be great to avoid long sessions of map manually this into a mapper profile class

christianshay commented 3 months ago

Hi, casing change is not yet a feature of Oracle Developer Tools for Visual Studio. I will add it to our list of potential enhancements.

gpgpublickey commented 3 months ago

Thanks both!