Object Mapper and Custom Field Descriptions
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Object Mapper and Custom Field DescriptionsExpand / Collapse
Author
Message
Posted 01/14/2006 9:10:10 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/16/2006 1:23:18 PM
Posts: 40, Visits: 85
In the Object Browser, it would be excellent to have the option to set the Description of a field. The only way that I have found to add a customized description to a field property is to modify the Designer.vb directly. This works fine but all of your work is lost the next time the Object mapper is run. I found that I could also add custom code to every field but that is more work and I'm way lazy!

It would also be helpful to have a combo-box of common Null Alternatives (String.Empty, Nothing, 0, False) so it doesn't have to be typed in each time unless the value is unusual.

Thanks!

Clay

Post #430
Posted 01/16/2006 9:22:41 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 06/17/2008 9:28:35 AM
Posts: 2,649, Visits: 1,863
Clay,

Yes, that has been an enhancement request, as well as the ability to rename fields (database column is "cust_fname" and the property created is "FirstName"). It's in the works



www.bungie.net
Post #433
Posted 02/09/2007 8:02:56 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 03/10/2008 12:13:04 PM
Posts: 24, Visits: 119
I was just wondering if this was ever completed. Also is there a way when one marks

a field as required to change the message that is displayed when the rule is broken

Post #6659
Posted 02/09/2007 3:56:53 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 06/17/2008 9:28:35 AM
Posts: 2,649, Visits: 1,863
The property to change the required fields message is on the Form.  It's called ErrorProviderRequiredFieldDesc, I think.  There should also be an ErrorProviderRequiredFieldDescKey property if you want to pull it from localization. 

As for the renaming of the field, there ended up being problems with the .Item property used within the business object, because we couldn't store off the name of the DataColumn behind the property.  So, if you need to rename one of your fields, you have to do it by customizing the field and having the property use custom code.


www.bungie.net
Post #6678
« 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 2:37am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 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.