title: Find object for given primary key in entity framework
body: <p>I have a table &quot;Customer&quot; and its corresponding ORMapping Entity Customer in entity framework and I want to find an object corresponding to a given primary key.
  Something like <code>customerObject.getObjectByID()</code> instead of a lambda expression or query.</p>