I inherited some classes with a large number of attributes. I want to be able to serialize them for WCF.
As DataContractSerializer is an opt-in serializer, I will need to decorate all the properties with DataMember attribute, which seems to me a little cumbersome. Don't I have any other way around so that I don't have to add DataMember to all the properties?
Please note, most of my properties need to be serialized.