StrataFrame Forum

How to rename field name?

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

By Herman verschooten - 2/18/2006

Hi,

I have a legacy table in my database that has a field named Count, now when I create a BO from this table, it always gives me a warning that I should override the count property. Is there a way to rename the Count field of my database without renaming the field in the database?

Herman

By StrataFrame Team - 2/21/2006

Yes, Herman, this is a pending feature request... the ability to dynamically rename fields within the Business Object Mapper. As a workaround, you can "customize" the field within the Business Object Mapper by telling the Count field to use "custom code" and leave the big textbox blank. Then, copy one of the strong-typed properties from the BO.designer.* file into your main code file, rename it what you want, and get/set the "Count" field of the CurrentRow. This just a workaround, however, until the feature you're requesting is implemented in a released version.