Re: DataContext.invalidateObjects vs unregisterObjects

From: Mike Kienenberger (mkienen..mail.com)
Date: Tue Sep 06 2005 - 11:02:42 EDT

  • Next message: Gili: "Re: DataContext.invalidateObjects vs unregisterObjects"

    Normally, if you're trying to deal with large data sets, the
    recommended solution is to dispose of your datacontext after every so
    many operations and start over.

    On 9/6/05, Gili <cowwo..bs.darktech.org> wrote:
    >
    > invalidateObjects() seems to be used for faulting objects so that they
    > are refreshed from the DB next time they are hit. unregisterObjects()
    > seems to be used for preventing read-only objects from triggering an
    > OutOfMemoryErrors. Am I correct?
    >
    > Gili
    > --
    > http://www.desktopbeautifier.com/
    >



    This archive was generated by hypermail 2.0.0 : Tue Sep 06 2005 - 11:02:43 EDT