I have Linq entities which contain non-nullable string properties. I'd like to iterate over the properties, perhaps in the partial OnValidate method, and set those properties to an empty string if they are null.
How can I do this without explicitly writing code for each property by name?