| View previous topic :: View next topic |
| Author |
Message |
arthur_daily Novice
Joined: 24 Apr 2009 Posts: 2
|
Posted: Fri Apr 24, 2009 11:44 am Post subject: Change displayed table names |
|
|
I want to change the name of the tables being displayed in the pop ups to more user friendly names.
My datamodel XML:
<TABLES>
<TABLE NAME="Customers" ALIAS="Customers" CAPTION="k" SCHEMA="" DB="" HINTS="" QUOTE="False" DSGNLAYOUT="" />
<TABLE NAME="DN" ALIAS="DN" SCHEMA="" DB="" HINTS="" QUOTE="False" DSGNLAYOUT="" />
</TABLES>
Is there an attribute that will allow my to specify a different name? |
|
| Back to top |
|
 |
Sergiy Guru
Joined: 07 Nov 2005 Posts: 389
|
Posted: Wed May 06, 2009 12:24 pm Post subject: |
|
|
Actually they are not "table" names but entity names. In most cases each entity in your data model corresponds to some table but it is not a requirement: you can combine the fields from several tables into one entity or create new entity which does not correspond to any table.
So, to rename some entity you just need to open your data model in Data Model Editor, select necessary entity on "Entities" page and change its caption. _________________ With the best regards, Sergiy Korzh. |
|
| Back to top |
|
 |
arthur_daily Novice
Joined: 24 Apr 2009 Posts: 2
|
Posted: Wed May 06, 2009 12:28 pm Post subject: |
|
|
| Is there a way of manually editiing the XML without the editor? I'm using SQL 2005 Express on my development machine and the editor does not like the connection string. |
|
| Back to top |
|
 |
Sergiy Guru
Joined: 07 Nov 2005 Posts: 389
|
Posted: Wed May 06, 2009 12:37 pm Post subject: |
|
|
1. Try to connect using another connection string then you use in your program (e.g. through OleDB or ODBC). This connection will be used only in Data Model Editor - so you do not need to use it in you program.
2. If your model is created already - then you do not need a connection to modify it by Data Model Editor.
3. Data model is stored into usual XML file so you can edit it in any text editor (e.g Notepad). _________________ With the best regards, Sergiy Korzh. |
|
| Back to top |
|
 |
|