---
title: "Discussion on \"\"The entity type 'IdentityUserLogin<string>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()\"\" | Hashnode"
description: "Discussion on \"\"The entity type 'IdentityUserLogin<string>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()\"\". How I Was Able To Solve \"The entity type 'IdentityUserLogin<string>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()\"\nHello! i'd want to share with you how i was able to solve the bug, this came on ..."
url: "https://hashnode.com/posts/the-entity-type-identityuserloginlessstringgreater-requires-a-primary-key-to-be-defined-if-you-intended-to-use-a-keyless-entity-type-call-hasnokey/5e5dd4f28c89a92316ce7f36"
---

[Feed](https://hashnode.com/feed) /

Discussion

# ["The entity type 'IdentityUserLogin<string>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()"](https://east.hashnode.dev/the-entity-type-identityuserloginlessstringgreater-requires-a-primary-key-to-be-defined-if-you-intended-to-use-a-keyless-entity-type-call-hasnokey?utm_source=hashnode&utm_medium=feed)

How I Was Able To Solve "The entity type 'IdentityUserLogin<string>' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()" Hello! i'd want to share with you how i was able to solve the bug, this came on ...

Mar 3, 2020 · east.hashnode.dev  
Read the article

## Written by

[Udochi Victor](https://hashnode.com/@EastCode)

@EastCode · Lagos, Nigeria

  
[View profile](https://hashnode.com/@EastCode)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
