Complex Type Column Naming
Posted: Wed 14 Nov 2012 18:10
Is there a way to control the column naming of complex types when you have more than one complex type in an entity class?
For example, I have the complex type "Address" which I then have two instances (Mailing and Billing) of in the Class "Vendor".
The generated column names for this look like this:
Mailing:
Line11
Line21
City1
State1
Zip1
Billing:
Line12
Line22
City2
State2
Zip2
Is there a way to make them more like below? I'm currently using the setting to automatically synchronize the mappings. Is there a way to change this default naming or do I have to manually map these?
MailingLine1
MailingLine2
MailingCity
...
BillingLine1
BillingLine2
BillingCity
...
etc
Thanks,
Drew
For example, I have the complex type "Address" which I then have two instances (Mailing and Billing) of in the Class "Vendor".
The generated column names for this look like this:
Mailing:
Line11
Line21
City1
State1
Zip1
Billing:
Line12
Line22
City2
State2
Zip2
Is there a way to make them more like below? I'm currently using the setting to automatically synchronize the mappings. Is there a way to change this default naming or do I have to manually map these?
MailingLine1
MailingLine2
MailingCity
...
BillingLine1
BillingLine2
BillingCity
...
etc
Thanks,
Drew