Miner28_3
Miner28_3
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
🙏
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
So just gonna do the same I did here and should work
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Same thing just different Entities
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Thanks for your help @glhays 😅 🙏
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Now just gotta solve the other places where I seem to have the same issue and we're golden :PartyPug:
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
😅 I believe so, getting rid of all the DiscordMemberRole references seems to have fixed it which is funny 😆
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
But I think it fixed by me getting rid of all references of the Join Table - "DiscordMemberRole"
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Worst thing ? I don't know what I did 😅 I just changed like 10 files and lost track of what all I changed
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
It did
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
OMG
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Oh my goodness, I think it worked ?
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
But what :AnimuThinku: I believe the DiscordRoleId that it's trying to generate is meant to be the "RoleId" that's on the Join Entity
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
hm :AnimuThinku:
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
But what i think is it's being generated by convetion as a DiscordRole (name of the class) + "Id" the name of the property that it's trying to join on
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Yea, honestly I have no idea.. there's nothing in the whole project that says "DiscordRoleId"
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
But seems like my Database, atleast until I am able to do migrations and change the structure just won'T work with it like this
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
But was kinda hoping that something like this could work being configured explicitly 😅
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Yup
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Well now I'm back to missing DiscordRoleId 😅 xD
39 replies
CC#
Created by Miner28_3 on 12/16/2024 in #help
EF Core Many to Many relationship through Entity
Progress lol Exception data: Severity: ERROR SqlState: 42703 MessageText: column v0.Id does not exist Hint: Perhaps you meant to reference the column "v0.id". Position: 230 File: parse_relation.c Line: 3665 Routine: errorMissingColumn
39 replies