I have an entity class with a bunch of non-nullable string properties. If I try and set one of these to null, I get a ConstraintException and the message "This property cannot be set to a null value."
Without setting tracker variable to the name of each property before assignment, is there a way I can determine which property assignment caused the exception to be thrown?