On Jan 7, 2008 12:33 PM, Paul McNett <[EMAIL PROTECTED]> wrote:
> That said, I can see how binding a grid to multiple bizobjs,
> particularly bizobjs in a 1:1 relationship, would be nice. We'd just add
> a DataSource property to dColumn, which defaults to grid.DataSource but
> can be overridden.
>
> Thoughts?

First, thanks for the info.  Next, I was thinking about that approach
and the thing that came to mind is how aware are the dColumns of other
dColumns.  I think that we are right in keeping the binding in the biz
object.  For the db level, the zipcode split is just proper 3rd form.
However, the UI needs to see the data as all one set, not two sets in
two tables.  Therefore, I think in the case of a 1..1 relationship,
that the join should happen in the bizobjects.  It makes more sense
logically and I think it is a better code design.

Maybe we need to generate some documentation on combining two tables
into a bizobject.  I will see about throwing up the example bizobject
code in the wiki when I am done.

Cheers,

Nate L.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to