By Greg McGuffey - 11/17/2006
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.
|
|