Per Object/Table Column Prefix
HI, I have had a look around for anyhting to do with column prefixes, and only found the examples of having multiple components per table with a prefix.
Is it possible to specify in a mapping that all the columns are prefixed with something?
Our DB scheema looks something like this:
Person Table: PEO_PersonID, PEO_FirstName, PEO_LastName, PEO_OwnerID
Companies Table: COM_CompanyID, COM_Name, COM_EmployeesCount
...etc
I would love to be able to specify in the mapping that all the columns are prefixed with "PEO_" for the person object without having to specify the column name for each property.
Thanks
Support Staff 2 Posted by James Gregory on 16 May, 2010 05:04 PM
There's no universal way to do prefixes, no. It'll be possible with conventions but you'll need to implement multiple convention interfaces to cover all the possible mappings you can do.