StrataFrame Forum

Aliasing fields in the BO...

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

By StarkMike - 6/26/2006

I was wondering. Does the StrataFrame support aliasing the field names in the business object? For instance if we build BOs then write code based on those BOs and a field name changes in the database, and we re-run the BO mapper to update the field name do we then have to go through ALL our code to replace the field name?
By Trent L. Taylor - 6/26/2006

This is one beautiful feature of the strong-typed business objects.  When you change a field name, you will receive an error in all of the locations that reference the old field name.  You can do several things at this point, just click on the error and it will take you to the place that needs to be modified with the new field name, or you can use some of the refactoring tools to replace all of the referenced locations for you.

As for aliasing, we do not have this type of support, but honestly we change names all of the time and it is literally a few minute problem just going through the error list and correcting the referenced names.

Hope this helps.