Any fix for datacontext.getchangeset-throws-exception-when-fk-has-been-nulled-out RRS feed


  • Hi sadikvt,

    Welcome to MSDN Forum.

    John Rust has provide a work around there. Does it help?

    "Simply make the relationship optional (set CanBeNull=true on the Foreign Key field) while leaving it mandatory in the database.  This prevents GetChangeSet from blowing up."

    Best Regards

    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Monday, April 2, 2012 6:11 AM