How to rename field name?


Author
Message
Herman verschooten
Herman verschooten
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 7, Visits: 37
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

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search