Hi All,
I am using ES2008 and MyGen 1.2.0.7. I tried the EntitySpaces_VB_WebAdmin.csgen template and after I fixed it to just work (see my other post) I noticed that it uses metadata for table names but not for column headers in the grids.
I also noticed that the BusinessObjects are generated as well without using the Metadata for column names.
For example I have these lines in my UserMetaData.xml
<Columns> <Column p="ordDeliverySurname" n="Surname" /> <Column p="ordDeliveryGivenName" n="GivenName" /> <Column p="ordDeliveryAddress1" n="Address1" /> <Column p="ordDeliveryAddress2" n="Address2" />
Based on these settings I would expect the column headers in my admin grids to show Surname, GivenName, but yet they still show the physical field names (ordDeliverySurname, etc.). It is probably expected too that the generated business objects have properties like Surname and GivenName instead of the physical field names. The latter is not that desirable, but the column headings look pretty bad without the aliases...
Can someone please let me know if metadata for column names is used by the templates? Also perhaps some clarification at to the use of metadata might be helpful.
Thank you
Sorin
EntitySpaces | Twitter | BLOG | Please honor our Software License