I am doing some serialization of db linq objects, which contain EntitySet and EntityRef classes.
I found a pretty easy way to deal with serialization of these classe
Unfortunately no, ISerializable
is an interface designed to allow you to control the serialization process while the SerializableAttribute
is just a marker that says "this class can be serialized". However, you could look into something like PostSharp to add this functionality (take a look at the CompositionAspect
).