I’m making two queries:
Dim worker = (From p in db.workers where p.dateAdded > today
select new with{.name = p.name, .desc = p.description})
Dim client = (From p in db.clients where p.dateAdded > today
select new with{.name = p.name, .desc = p.description})
How can I merge those two queries to have only one I can use as DataSource.
Can you specify what exactly you want to do?
1. Merge the results in one set – if yes, you can use huMpty duMpty’s proposal
2. If you want to do something similar to DataSet with two DataTables with Linq query I’m not sure if this is achievable.
Hope this helps!