The connection is fine if it's out of date - you should use the new syntax
SELECT * FROM Person INNER JOIN Job ON Person.JobID = Job.ID
Your problem is that you are returning - you are returning Person and Job data, so you need to create a class that matches the data structure that you are returning, or return only the person or job.
db.Query<Person>("SELECT Person.* FROM Person INNER JOIN Job ON Person.JobID = Job.ID");
db.Query<Job>("SELECT Job.* FROM Person INNER JOIN Job ON Person.JobID = Job.ID");
source
share