Re: object regsitered in a different DataContext

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Dec 02 2005 - 10:31:00 EST

  • Next message: Andrea Borgogelli Avveduti: "DataObject constructor from two other DataObjects"

    On Dec 2, 2005, at 6:11 PM, Andrea Borgogelli Avveduti wrote:

    > Andrus here the answer:
    >
    > * Is it possible that "connect" is called twice? Yes, of course.
    > Could be a problem ???
    Of course. You create a new DataContext inside this method, replacing
    a singleton with another instance. This will definitely create a
    problem.

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Dec 02 2005 - 10:31:01 EST