I would like to change the display of objects if they have unsaved changes. I thought I could just use ChangeTracker.State
, but that doesn't change to Modified if I change a Navigation Property.
For example, a Contact object contains Navigation Properties for Phones, Addresses, and Emails. If I change the Contact's Name, the state will change to Modified but changing a Phone leaves the object's state Unchanged.