title: EF SqlQuery tries to map object property, even though it's attributed [NotMapped]
body: <p>I have a stored procedure that I execute with <code>context.Database.SqlQuery&lt;MyObject&gt;("MyProc")</code></p>
  
  <p><code>MyObject</code> has a readonly property:</p>
  
  <pre><code>[NotMapped]
  public bool IsSomething { get { return this.otherproperty == "something"; } }
  </code></pre>
  
  <p>So I get the error:</p>
  
  <blockquote>
    <p>System.IndexOutOfRangeException: IsSomething
    at System.Data.ProviderBase.FieldNameLookup.GetOrdinal etc</p>
  </blockquote>
  
  <p>Which is because MyProc doesn't have <code>IsSomething</code> in the result columns (I'm 100% sure that's probably the reason).</p>
  
  <p>Shouldn't it just ignore it since it's <code>[NotMapped]</code>? Do I need to set something else for <code>SqlQuery</code>?</p>
  
  <p>To make things even more weird, I only see it on production, from the logs of Stackify, and the page seems to load properly without any errors in the browser.</p>