I have a Xamarin Forms App that uses Azure Mobile Services offline sync. I want to use a Join to query two tables, but it looks like the use of JOIN isn't supported on IMobileServiceSyncTables. Can I use a regular SQL query? For a single-table query, I'm doing the following:
IEnumerable<Job> jobs = await jobTable
.Where(job => job.JobPackId == jobPackId)
.ToEnumerableAsync();
I can join the Job table to the JobPack table on job.JobPackID == JobPack.Id.
My workaround at the moment is to get all the jobs from the above query, then for each job, query the JobPack table for the item I want. But I don't think it's very efficient, so looking for a better way of doing it.