How to add several custom fields to a BO


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I am attempting to add several custom fields to a BO. Following the instructions in the tutorial, you need to add GetCustomBindablePropertyDescriptors override for the property. What do you do if you have 4 properties (or any number larger than 1?



A second question is related to best practices. I have a linking table, I.e. it links rows from two different tables, say WidgetsID to a FactorID. I want to be able to show the widgets at a factor, and be able to provide some details about the widget. Is it a good idea to use custom properties in the linking BO to do this. I.e. the linking BO will have three fields, the pk field, the WidgetID field and the FactorID field. Is is a good idea to add a WidgetName and WidgetDescription custom field, that use ExecuteScalar() to retreive the name and description using the current row WidgetID? If it isn't a good idea, why? And is the alternative to use a BO to a view?



Thanks!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Greg McGuffey - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Greg McGuffey - 19 Years Ago
                 I will look into the missing help topic. Thanks.
Trent L. Taylor - 19 Years Ago
Greg McGuffey - 19 Years Ago
                         [quote] It just occurred to me, is it better to use...
Trent L. Taylor - 19 Years Ago
                             [quote][b]Trent L. Taylor (11/16/2006)[/b][hr]Going through the BO is...
Greg McGuffey - 19 Years Ago
                                 [quote]This is how the BO internally executes the command right? The...
Trent L. Taylor - 19 Years Ago
Greg McGuffey - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Greg McGuffey - 19 Years Ago
Greg McGuffey - 19 Years Ago
                         What you are doing will definitely work. There are two other things...
Trent L. Taylor - 19 Years Ago
                             That is exactly what I'm doing. I'm going to have half dozen or so BOs...
Greg McGuffey - 19 Years Ago
                                 I don't think I can explain this properly over the forum, but there is...
Trent L. Taylor - 19 Years Ago
                                     [quote][b]Trent L. Taylor (11/17/2006)[/b][hr]I don't think I can...
Greg McGuffey - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search