Re: Different DataContext

From: Reinout van Schouwen (reinou..mail.com)
Date: Wed Jul 22 2009 - 09:47:01 EDT

  • Next message: Emanuele Maiarelli: "Re: Different DataContext"

    Hi,

    2009/7/22 Mike Kienenberger <mkienen..mail.com>:
    > If you know that Person is not in a modified state, you can make a
    > local copy of Person in your nameObj's data context.

    Thanks, Mike and Emanuele, getting the object context from the nameObj
    indeed solves the problem.

    Is this something to be aware of at all times? I.e. when creating a
    link between two objects, is it best practice to retrieve the
    datacontext from either one, and handle both objects from that
    context?

    -- 
    Reinout van Schouwen
    http://vanschouwen.info/
    



    This archive was generated by hypermail 2.0.0 : Wed Jul 22 2009 - 09:47:35 EDT