Persistent Business Objects without frameworks?

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

Hi,

I am a big fan of coding using business objects - even though it takes
a little extra time over using datasets etc. I think it's worthwhile.

However, I really get stuck when attempting to implement persistence of
one-to-many and many-to-many object relationships, where a single
"Person" has many subordinate objects such as addresses, or where a
single order may be associated with many order details and in turn many
products.

I know there are many framework products out there that cope very
nicely with this problem, however I am keen to understand exactly
what's happening "under the bonnet" - how one can read, allow
modification and then persistence back to the database.

Does anyone have any pointers or links to any sample code they might
point me at? Thanks.

M
 
Back
Top