StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



How to rename field name?Expand / Collapse
Author
Message
Posted 02/18/2006 7:30:51 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 06/09/2006 6:34:16 AM
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

Post #556
Posted 02/21/2006 2:28:04 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
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.


www.bungie.net
Post #563
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:22am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.