I noticed DbMetal generates classes that don't implement the ISerializable interface, nor are marked with DataContractAttribute. What is the easiest way of serializing such classes? Is there any DbMetal parameter that could help me?
Asked
Active
Viewed 100 times
1
Jader Dias
- 88,211
- 155
- 421
- 625
1 Answers
1
try this:
[Serializable]
public partial class YourClassName { }
See Partial Classes for further details
Trevor
- 13,085
- 13
- 76
- 99