In EF4, I want to know if some fields have been changed. How can i do this?
var propertyFooIsModified = Context.ObjectStateManager.GetObjectStateEntry(someEntity) .GetModifiedProperties.Any(p => p == "Foo");