title: Only mapping to subset of a table
body: <p>Weird question here.</p>
  
  <p>I have a bad situation with a database I can't change.</p>
  
  <pre><code>[Table("PROJTABLE")]
      public class Certifikat {
          [Key]
          public long Recid { get; set; }
  
          public String DATAAREAID { get; set; }
          public String Projid { get; set; }           
          public virtual StandardAndScope StandardInfo { get; set; }
  }
  
  [Table("DS_CRT_PROJSTANDARDSCOPE")]
      public class StandardAndScope {
          [Key]
          public long RECID { get; set; }
  
          public String DATAAREAID { get; set; }    
          public String Standard { get; set; }
          public String Scope { get; set; }
      }
  </code></pre>
  
  <p>I have an optional one-to-many relationship from Certifikat to StandardAndScope. However! It's only one-to-many if the DATAAREAID column is a certain value ("crt").</p>
  
  <p>Do I have any way of telling EntityFramework only to map rows where the value of that column is crt?</p>