title: Linq to SQL - Serialization
body: <p>How to mark System.Data.Linq.EntitySet and System.Data.Linq.EntityRef fields with with Serializable attribute the LINQ class.</p>
  
  <p>In the Object Relational Designer, changed the Serialization Mode property to Unidirectional.</p>
  
  <p>Still throwing below error:</p>
  
  <pre><code>Type 'System.Data.Linq.EntitySet`1 [[CIMS.Framework.DataAccess.Models.Assessments_ResponseWorkflow, 
  CIMS.Framework.DataAccess, Version=1.0.0.0, Culture=neutral, 
  PublicKeyToken=null]]' in Assembly 'System.Data.Linq, Version=3.5.0.0, 
  Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable. 
  Description: An unhandled exception occurred during the execution of 
  the current web request. Please review the stack trace for more information 
  about the error and where it originated in the code. 
  
  Exception Details: System.Runtime.Serialization.SerializationException:
  Type 'System.Data.Linq.EntitySet`1 
  [[CIMS.Framework.DataAccess.Models.Assessments_ResponseWorkflow,  
  CIMS.Framework.DataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'
  in Assembly 'System.Data.Linq, Version=3.5.0.0, Culture=neutral,  
  PublicKeyToken=b77a5c561934e089' is not marked as serializable.
  </code></pre>
  
  <p>Any example please?</p>