StrataFrame Forum

Add ability to alias column names in a BO

http://forum.strataframe.net/Topic6547.aspx

By Greg McGuffey - 2/2/2007

As I understand it, because of the way SF builds client BOs, the column names are exposed, thus part of the database schema is exposed. This is because the column names are used to define property names and because the column names are also stored as text in the AllFields property and referenced as text other places (and they must all match I assume), you can't obfuscate the column names or the BO breaks.



I'm wondering if it would be possible to allow the user to assign the name of the property in the BO that will be used to access a column in the database? The default would to do things are they are now, but allow the user to set the property name if they need to.
By Trent L. Taylor - 2/2/2007

Well, honestly I don't see this happening for a number of reasons.  One, this would be a phenominal amount of work on the developer.  But two, this would require a relatively massive change to the BO Mapper and how the integrity of the BO works.