Joining on Runtime Types

You’re not going to be able to use OrmLite’s SqlExpression to build a Typed API on unknown compile time types. You’ll need to drop down Custom SQL as seen in this earlier answer: Self Reference <From>, JoinAlias