title: EF Find() with multiple Keys
body: <p>I am trying to use Find() on a set of an EF class that has a foreign Key and 2 primary Keys, however I keep getting error.</p>
  
  <p>This is my class:</p>
  
  <pre><code>public class dbDDV
      {
          [ForeignKey("dbf")]
          [Column(Order = 0)]
          public int id { get; set; }
  
          [Key]
          [Column(Order = 1)]
          public DateTime D0 { get; set; }
  
          [Key]
          [Column(Order = 2)]
          public DateTime D1 { get; set; }
  
          public double V{ get; set; }
      }
  </code></pre>
  
  <p>For a particular value of id, D0 and D1 I have been trying to use Find():</p>
  
  <pre><code>dbContext.mySetOfdbDDV.Find(myId,myD0,myD1)
  </code></pre>
  
  <p>The following is the error I receive:</p>
  
  <blockquote>
    <p>System.ArgumentException: The number of primary key values passed must match number of primary key values defined on the entity.</p>
  </blockquote>
  
  <p>What would be the correct approach for Find() on this case?</p>