StrataFrame Forum

BO question...

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

By StarkMike - 3/9/2007

Let's say I drop a BO on a form and then also drop a BBS too. Next I bind a DevExpress LookUpEdit to the BBS.



When I select an item from the LookUpEdit does it automatically navigate the BO to the currently selected record?
By Trent L. Taylor - 3/9/2007

I have not tested the LookupEdit control so I cannot tell you how it will behave.  This is more of a question for DevExpress...but you can see how the BBS will respond by looking at the Business Binding Source sample through the Sample Console to see how the BBS will behave.
By StarkMike - 3/9/2007

Would this be true if I was using one of your comboboxes?

P.S. When I fill your combobox using PopulationDataSourceSettings, I assume that it creates an instance of the business object in memory when it fills it.  If I am correct, is there any way to access that BO?

By Trent L. Taylor - 3/9/2007

If I am correct, is there any way to access that BO?

No, this is internal to the control.  However, you can copy the data from another BO into it by using the CopyDataFrom method.  But you cannot access the BO reference itself.

By StarkMike - 3/9/2007

Ok. What about StrataFrame comboboxes? If there were bound to a BBS and I select an item do they navigate the BO to the selected record?
By Trent L. Taylor - 3/9/2007

Yes...when using the BBS it doesn't matter if it is an SF combo or a standard combo, the sample I mentioned above shows a combo box doing this very thing.