I left joined credit cards to customers ( handling nulls and returning "NO CARD ON FILE") so there is a cardnumber field being returned in the cursor that I get with the stored proc
At debug time in me.customersbo1.currentview I can see the cardnumber column with data.
I looked in BO mapper and there doesn't look to be anyplace there to fake the BO into created a property (probably just as well as I assume it could not be updateable) Thought a custom field prop would be the way to go but
<Browsable(
BusinessFieldDisplayInEditor(), _
Description(
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
Return Cardnumber gets the error that it must be declared - but I'm not sure what the syntax is to tell it the field will be in the cursor at runtime
( I do realize that if I add a custom prop in this way I will probably need to always be sure it is provided in each data access scenario. Does that mean I should be creating a view on the back end so the field is present in the definition when the bizobj is mapped? No problem, if that's the case but wanted to make sure there wasn't another trick I was missing as I might want to display something like this without having to create an updateable view on the back end)
TIA
Charles