There's no Typed API support for joining on a sub select but you can use a CustomJoin to do this, e.g:
var q = Db.From<Customer>()
.CustomJoin("INNER JOIN (SELECT Id FROM ...) sub ON sub.Id = Customer.Id")
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more