On the surface of the designer, click on the background (that is, not on any particular entity) and change the "Serialization Mode" to "Unidirectional". This should add the necessary [DataContract]/ attributes [DataMember]for the entire model by enabling WCF.
source
share