This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
sitefinitysteve
asked on 28 Nov 2010, 05:03 AM
It's generating ID columns as I_D (so logID is log_i_d)....is there any way to get some fine detail on the names in the domain model?
3 Answers, 1 is accepted
0
Hello Steve,
I suggest you reading the following help articles “Naming Rules Dialog” and “How to: Modify Naming Settings” which demonstrate how to manage the naming settings and rules for a domain model.
Hope you will find the provided information useful.
Kind regards,
Damyan Bogoev
the Telerik team
I suggest you reading the following help articles “Naming Rules Dialog” and “How to: Modify Naming Settings” which demonstrate how to manage the naming settings and rules for a domain model.
Hope you will find the provided information useful.
Kind regards,
Damyan Bogoev
the Telerik team
0
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 29 Nov 2010, 06:52 PM
I thought the naming setting dialog was just for mapping an existing table to an entity...
Like I have a "Name" property and it's going in as "nme" in the database. So would that be the Pluralization UnChanged I would be setting?...it's not really pluralization though, and I don't see any other property which references that
Like I have a "Name" property and it's going in as "nme" in the database. So would that be the Pluralization UnChanged I would be setting?...it's not really pluralization though, and I don't see any other property which references that
0
Hello Steve,
Actually the Naming Rules Dialog refers to the class, property and field names. I want to apologize for my misleading answer in the previous post.
You could set the column names manually using the Table Editor. If you have not explicitly created a table for this class, you could use default mapping for a start. It will automatically create a table and map the class to this table. To achieve this, do the following:
- Select the class from the visual designer;
- Open the Mapping Details Editor – Table Mappings section;
- Check the Use Default Mapping setting which will create the default table for this class;
- Locate the table under Model Schema Explorer;
- Use the Table Editor to edit the column names;
We will try to improve the naming strategy for creation and migration scripts for Q1.
Hope that helps.
Best wishes,
Damyan Bogoev
the Telerik team
Actually the Naming Rules Dialog refers to the class, property and field names. I want to apologize for my misleading answer in the previous post.
You could set the column names manually using the Table Editor. If you have not explicitly created a table for this class, you could use default mapping for a start. It will automatically create a table and map the class to this table. To achieve this, do the following:
- Select the class from the visual designer;
- Open the Mapping Details Editor – Table Mappings section;
- Check the Use Default Mapping setting which will create the default table for this class;
- Locate the table under Model Schema Explorer;
- Use the Table Editor to edit the column names;
We will try to improve the naming strategy for creation and migration scripts for Q1.
Hope that helps.
Best wishes,
Damyan Bogoev
the Telerik team