EntityType: EntitySet ‘[Entity Name]’ is based on type ‘[Entity Name]’ that has no keys defined
So, the exception completely indicates to us that it is not able to find a Key in the model, which is defined in the database for that entity. Problem When you design a model class for the entity, you define many properties including keys, if any. Bu...
Nov 9, 20152 min read450
![EntityType: EntitySet ‘[Entity Name]’ is based on type ‘[Entity Name]’ that has no keys defined](https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/npxXWgQ33ZQ/upload/dd6380247a6491b4b69118a87b2885de.jpeg)