I want to be able to generate a DataContract from a XSD file, preferably using the xsd.exe tool. What is the easiest way for it to auto generate the [DataContract] and [DataMember] on each of my items?
Or is there a better approach? I am trying to avoid having to recreate the data contract each time the XSD file is changed and regenerated.