DataContext subclassing [was: Re: Setting a user stamp on objects]

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon Dec 06 2004 - 18:58:55 EST

  • Next message: Marek Wawrzyczny: "Reading Cayenne configuration from custom streams."

    Andrus Adamchik <andru..bjectstyle.org> wrote:
    > Yeah, that's a pretty common situation when you have to populate some
    > DataObject properties with external data (i.e. data not available within
    > DataObject itself) in certain points of the object lifecycle. I think
    > having a subclass of DataContext is entirely reasonable.

    In the recent past, I also have wished to subclass DataContext for a couple
    of different situations.
    Can we consider creating a DataContextFactory class to provide this
    functionality transparently?

    -Mike



    This archive was generated by hypermail 2.0.0 : Mon Dec 06 2004 - 18:57:15 EST