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

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
EdB
Posts: 91
Joined: Mon 15 Oct 2012 09:24

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

Post by EdB » Thu 09 Jul 2015 19:38

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

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

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

Post by Shalex » Fri 10 Jul 2015 11:54

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.

Post Reply