How to make properties available to a BO when inherits from sub class of BusinessLayer


How to make properties available to a BO when inherits from sub class...
Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
After my question regarding a BusinessLayer interface and your response that I should try sub classing the business layer instead, I did just that. It works great. 100% of the code that I wanted for the special functionality was generalized and put into the sub class. So now all I have to do is inherit from my sub class instead of BusinessLayer and it's close to done.



The problem (ok, maybe not problem, but annoyance) I'm having now is that I have a couple of properties defined in the sub class (ParentSequencerBusinessLayer) that define the names of the parent field and the sequence field (the field that orders the records). I would like to have these configured at the BO level (at the component level), since they only need to be configured once (the values are unique to a specific BO, not to an instance). However, currently these properties are only available for instances (thus I'd have to set these values every time I use the BO), and not at the BO component level. How do I get the properties to show up for the BO?



I'm talking how to get the properties to show up in the property window. I can set the properties in code at the BO level.
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