title: Asp.net Identity Validation Error
body: <p>I want integrate IdentityContext with mydbcontext but i am taking this error</p>
  
  <p>One or more validation errors were detected during model generation:</p>
  
  <p>Ivdb.Dal.Concrete.EFCodeFirst.IdentityUserLogin: : EntityType 'IdentityUserLogin' has no key defined. Define the key for this EntityType.
  Ivdb.Dal.Concrete.EFCodeFirst.IdentityUserRole: : EntityType 'IdentityUserRole' has no key defined. Define the key for this EntityType.
  IdentityUserLogins: EntityType: EntitySet 'IdentityUserLogins' is based on type 'IdentityUserLogin' that has no keys defined.
  IdentityUserRoles: EntityType: EntitySet 'IdentityUserRoles' is based on type 'IdentityUserRole' that has no keys defined.</p>
  
  <p>How can i solve this ?</p>
  
  <p>Code:</p>
  
  <pre><code> public partial class ivdbDb156978Context : IdentityDbContext&lt;ApplicationUser&gt; 
  {
      static ivdbDb156978Context()
      {
          Database.SetInitializer&lt;ivdbDb156978Context&gt;(null);
      }
  
      public ivdbDb156978Context()
          : base("Name=ivdbContext")
      {
      }
  
  
      public DbSet&lt;Car&gt; Cars { get; set; }
  </code></pre>
  
  <p>Application User</p>
  
  <pre><code>    public class ApplicationUser : IdentityUser
  {
  
  }
  </code></pre>