Can I serialize POCO classes? I'm using the C# POCO entity generator.
I tried to edit the .tt file which generates the entity classes to add the Serializable attribute. Is it right?
Can I serialize POCO classes? I'm using the C# POCO entity generator.
I tried to edit the .tt file which generates the entity classes to add the Serializable attribute. Is it right?
You're using POCO proxies, not pure POCOs. Pure POCOs can be serialized if (obviously) they're serializable. Proxies might not be.