Is it possible to programmatically set that you want to exclude a property from serialization?
Example:
If you are serializing to XML, you can use XMLIgnore
As in:
class SomeClass { [XmlIgnore] int someID; public string someString; }