General information
Category:
The Mere Mortals .NET Framework
Title:
Another BO binding properties questions
I'm still digging into the basics of MM and BOs. I hope everyone can suffer through my newbie questions...
Ok, some basics here about binding listbox/combobox to a BO...
Why do you assign a BO in the BindingSource property, but when you assign the BindingSourceDisplaySource and BindingSourceValueMember, you are given the "MM .NET Binding Source Member Selection dialog" where you pick a table and column from some selected SQL database. I would expect to only be able to choose one of the property fields from the EntityObject of the BO that I specified.
Then the same thing happens when assigning the BindingValueSource and BindingValueSourceMember... You assign a BO to BindingValueSource, but then when assigning the BindingValueSourceMember, instead of picking a property from the destination BO Entity, I am again offered the "MM .NET Binding Source Member Selection dialog" from where I choose from any table and column in whatever database I choose.
If I can point directly to tables and columns from any database, why do I need to point to a specific BOs? Or, said another way, if I assign BOs, why do I get to pick from any table and any column in any databse, when then BO only has certin properties in the BO entity?
I just don't get something about how it is all laid out.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only