C
C#12mo ago
Oblivion

❔ ef migration merges 2 tables of same type?

kekw so my dbcontext that has two seperate tables of "Char" classes results in a migration that only has one table of "Char" named after the type (Char) removing the "Monsters" in the context makes it create a table of "Char" named "SavedCharacter" correctly. I so confuse kekw here are some images
4 Replies
Oblivion
Oblivion12mo ago
without the second "Char" table
Oblivion
Oblivion12mo ago
thank you to anyone who may help 🙂
Oblivion
Oblivion12mo ago
well, apperently u cant have multiples tables of the same type soooo i found a solution online and this is how i fixed it:😁 👍🏻
Accord
Accord12mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.