Page 1 of 1

How to add [serializable] to my complex type objects?

Posted: Thu 09 Jul 2015 19:38
by EdB
Hi,

I am using v5.7.604.

I am using the POCO Entity Template and EF6.

I wish to make my Complex Type serializable. How do I do this in ED please?

Thanks,

Edward

Re: How to add [serializable] to my complex type objects?

Posted: Fri 10 Jul 2015 11:54
by Shalex
1. Navigate to Model > Settings > Attributes > select the mscorlib.dll assembly and make sure that the System.SerializableAttribute is checked in the window below, press OK.
2. Select the System.SerializableAttribute in the Attributes collection of a particular complex type.