This is a migrated thread and some comments may be shown as answers.

Issue with upper case table and column names

1 Answer 40 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ultramods
Top achievements
Rank 1
ultramods asked on 24 Jul 2012, 09:05 PM
I have just started using Open Access and would like to know that the issue in the link below has been resolved in a newer release.

http://www.telerik.com/community/forums/orm/general-discussions/openaccess-orm-create-model-wizard-creating-pascal-names-all-in-uppercase.aspx


I have a table called say MOC_CAR_TYPE and I would like the generated class to be called CarType and for properties to follow the same convention (column names are also all in upper case).

1 Answer, 1 is accepted

Sort by
0
Ivailo
Telerik team
answered on 26 Jul 2012, 03:23 PM
Hello,

Yes, this is now possible with OpenAccess ORM. The names in the model are now highly customizable and you are able to generate CarType out of a MOC_CAR_TYPE name by:

- removing the prefix MOC
- setting Remove Underscores option in the Model Settings
- setting Interpret Underscore as Word Delimiter 
- setting the Case to Capitalize 

It sounds complicated but it is all on the same screen and it is done only once for the entire model.

Do not hesitate to let us know if you have any other questions.

All the best,
Ivailo
the Telerik team
OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
Tags
Getting Started
Asked by
ultramods
Top achievements
Rank 1
Answers by
Ivailo
Telerik team
Share this question
or