Prevent BO from showing up in Bo Mapper


Author
Message
Randy Jean
Randy Jean
StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)
Group: StrataFrame Users
Posts: 105, Visits: 641
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
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.

Randy Jean
Randy Jean
StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)StrataFrame User (233 reputation)
Group: StrataFrame Users
Posts: 105, Visits: 641
Cool, thanks.
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