Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Issue: Exception has poorly formatted message attached [641]

$
0
0
The error message that appears when a DbSet is attempted to be constructed from a property that doesn't contain a property that can be mapped to a key

the error message looks as such:
"


\thttp://schemas.microsoft.com/ado/2009/11/edm.Comment: : EntityType 'Comment' has no key defined. Define the key for this EntityType."

the new lines and '\t' should be removed

Viewing all articles
Browse latest Browse all 10318

Trending Articles