StrataFrame Forum

Prevent BO from showing up in Bo Mapper

http://forum.strataframe.net/Topic6128.aspx

By Randy Jean - 1/23/2007

Is there a way to prevent a BO from showing up in the BO mapper? Reason I ask is I have a subclass of another BO but I don't want a partial class created for it (I don't need it, works fine without it.) My sub-class is simply:



Public Class AtlasSetupDataBOCopy

' This is just a subclass

Inherits AtlasSetupDataBO

End Class



And it does work fine, but really don't want it in the BO Mapper or at least be able to keep it from generating the partial.



Thanks,

Randy Jean
By StrataFrame Team - 1/24/2007

No, there's not a way to exclude a business object from showing up in the BOMapper.  You can leave the business object unconfigured (with the little red x) and when you do a Rebuild All, you'll get an error in the results telling you that the business object was unconfigured, but you can ignore it.

However, if you want to exclude a business object from showing up within the type editors such as the ComboBox's PopulationDataSourceSettings and such, you can add the MicroFour.StrataFrame.Extensibility.HideFromExtensibilityAttribute() to the busines object class.

By Randy Jean - 1/24/2007

Cool, thanks.