This question is locked. New answers and comments are not allowed.
From GettingStartedwithTelerikOpenAccessORM.pdf:
When using the Use Default Mapping option, OpenAccess will automatically build a
database table schema for an entity based on its properties, and their data types.
From
http://www.telerik.com/help/openaccess-orm/developer-guide-domain-model-class-mapping-default-mapping.html
OpenAccess ORM takes care of the columns and table naming. If you want to have full controls over the mapping, then you need to use the Edit Table dialog.
I guess the reason behind this is that database and field names are case insensitive, right?
Still, I want my DB/fields name to be the same as my Domain-class/attribute name. Is there anywhere that I configure it so that it happen automatically, instead of me using the explicit mapping for each and every of my DB/fields?
Thanks
When using the Use Default Mapping option, OpenAccess will automatically build a
database table schema for an entity based on its properties, and their data types.
From
http://www.telerik.com/help/openaccess-orm/developer-guide-domain-model-class-mapping-default-mapping.html
By using the Use Default Mapping option, OpenAccess ORM automatically creates a table in the relational part of the model and maps all properties to columns. The specific moment here is that OpenAccess ORM will give default names for the underlying table and columns.
For example, the Customer domain class will be mapped to a table named 'customer'. And the Customer properties will be mapped to columns as follow:
- Id <-> id
- Name <-> nme
- HireDate <-> hire_date
OpenAccess ORM takes care of the columns and table naming. If you want to have full controls over the mapping, then you need to use the Edit Table dialog.
I guess the reason behind this is that database and field names are case insensitive, right?
Still, I want my DB/fields name to be the same as my Domain-class/attribute name. Is there anywhere that I configure it so that it happen automatically, instead of me using the explicit mapping for each and every of my DB/fields?
Thanks