Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

The entity type 'IdentityUserLogin<int>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'

code fighter answered on October 21, 2020 Popularity 10/10 Helpfulness 7/10

Contents


More Related Answers

  • The entity type requires a primary key to be defined.
  • System.InvalidOperationException: The entity type 'City' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/f
  • The entity type 'Palavra' requires a primary key to be defined

  • The entity type 'IdentityUserLogin<int>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'

    6
    Popularity 10/10 Helpfulness 7/10 Language whatever
    Link to this answer
    Share Copy Link
    Contributed on Oct 21 2020
    code fighter
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.