Complex properties are blobbed by default so it should automatically be populated with the result, so I’m not seeing where the issue is. What’s the actual OrmLite query that’s not working as expected?
So the data model provided earlier wasn’t an OrmLite data model, which means the props aren’t going to get blobbed with the items table.
These are the only options for selecting columns from multiple tables, i.e. you wont be able to select them into your custom complex POCO directly but looks like you should be able to use SelectMulti for this, e.g:
var results = db.Select<Dictionary<string,object>>(q);
Also when you get a chance you may want to checkout AutoQuery it has a lot of these features inc customizable fields built in without requiring any dev effort and benefits from a strong typed API.
You can’t sessions are stored against a random key. The only way to know inspect a Session is to access it individually.
But I wouldn’t recommend scanning all User Sessions like this, if you need all User Sessions I would register a OnAuthenticated Session or Auth Event and maintain a list of Sessions Ids for each user yourself.