Re: Bug in child contexts?

From: Kevin Menard (kmenar..ervprise.com)
Date: Tue Mar 04 2008 - 22:16:34 EST

  • Next message: Kevin Menard: "Re: Bug in child contexts?"

    I just wrote a small test case here using Artist and Painting and it works
    as you describe and as I would expect. So, either there's a funky cache
    thing going on or my code is borked. I'm not entirely ruling out the
    latter, but it is fairly simplistic in nature.

    -- 
    Kevin
    

    On 3/4/08 12:59 PM, "Andrus Adamchik" <andru..bjectstyle.org> wrote:

    > > On Mar 4, 2008, at 7:24 PM, Kevin Menard wrote: > >> So, in this case, I use localObject to pull customer into >> childContext, set the relationship, commit, and go on my merry way. > > This is the correct way and AFAIK it should work. Could you post a bit > longer code example, that shows localObject call as well as the > problem? Just to doublecheck that you are not swapping a customer > reference somewhere, before we start digging the DataContext code. > > Andrus >



    This archive was generated by hypermail 2.0.0 : Tue Mar 04 2008 - 22:17:07 EST