C#C
C#3y ago
Nacio

✅ EFCore cannot map another entity

I'm trying to move the relation so that the DiscordUser has the UserId (and not User the DiscordUserId)
To do that, I've dropped the entire database since idc about it right now, got rid of all migrations but it keeps saying it can't map the User

User: https://pastebin.com/ARS3JPiD
DiscordUser: https://pastebin.com/mBmUJpP5
DbContext: https://pastebin.com/ybtVHALe
Exception: https://pastebin.com/raw/0j8bsks6
Uncommenting the [InverseProperty] also changes the exception to: https://pastebin.com/raw/6z7XswhM
Was this page helpful?