title: How do I exclude a member from Linq-To-Sql mapping?
body: <p>I have this class:</p>
  
  <pre><code>public class MyClass {
      [Column(Name="StoredColumn", DbType="int")]
      public int Stored;
  
      public int ForDisplay {
         get { return Stored * 1000; }
      }
  }
  </code></pre>
  
  <p>The point is <code>ForDisplay</code> is not to be stored in the database - I just need it for more convenient code.</p>
  
  <p>I try to run an SQL query that returns a rowset and get this <code>InvalidOperationException</code>:</p>
  
  <blockquote>
    <p>Cannot assign value to member 'ForDisplay '. It does not define a setter.</p>
  </blockquote>
  
  <p>I don't want <code>ForDisplay</code> to be touched by Linq-To-Sql. How do tell Ling-To-Sql to not touch it?</p>