title: Entity Framework Core Find and Composite Key
body: <p>The <code>Find()</code> method takes an array of objects describing the primary key you're attempting to find. The documentation is unclear as to how to handle composite primary keys. I tried searching the GitHub repository, but was unable to find the source code for the <code>Finder.Find()</code> method.</p>
  <p>For example, I've used the fluent API to define the following composite primary key:</p>
  <pre><code>modelBuilder.Entity&lt;Article&gt;()
      .HasKey( x =&gt; new { x.CommunityID, x.ArticleID } );
  </code></pre>
  <p>Do I call <code>Find()</code> like this:</p>
  <pre><code>Find( new object[] {1, 2} );
  </code></pre>
  <p>or like this:</p>
  <pre><code>Find( new object[] { new {CommunityID = 1, ArticleID = 2} } );
  </code></pre>
  <p>If it's the first approach, is the order of the parameters the same as the order of properties defined on the fluent API anonymous object?</p>