Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
As for getting business objects in the data source pane, you can only add types or special DDEX objects to the Data Sources pane (such as SQL tables). But, if you want to add a business object, you can either add the data source as a type (you select object from the Add New Data Source wizard) or you can create a wrapper BusinessBindingSource to go along with your business object. To do so, you can create a new class, inherit from BusinessBindingSource, and in the constructor, set the BusinessObject property to a new instance of the business object type that you want to have in the list. Then, go through the Add New Data Source Wizard and just like adding the BO directly, select Object and find your type in the tree view of available types.
|