AtomicLiquid
✅ Dapper InsertAsync fails on Postgres with relation does not exist
Hello,
I am currently trying to run Dapper CRUD operations (Dapper.Contrib.Extensions) on a database table with the name "Permissions", when I try to run InsertAsync, I get a
relation "permissions" does not exist
. I've been skimming the interwebs, but I can't seem to find a solution. It seems like Dapper is not double quoting the tablename, even though the database model is annotated with [Table("Permissions")]
20 replies
✅ Not able to Insert data to table using Dapper
Hey folks! I'm trying to have Dapper insert a MapsModel to the database with a relation to the PlayerModel. However, when I try to do that, I get this error:
The code I use can be found in this pastebin:
https://pastebin.com/q99mmvnX
Anyone know how I can solve this?
12 replies