Reputation: 135
I need to do query from two raven db tables. I found almoust perfect solution in documentation, only problem is im using async session and have no idea what is async equivalent.
var q = from order in dq
let company = session.Load<Company>(order.Company)
select new
{
order.Freight,
company.Name
};
Upvotes: 3
Views: 148
Reputation: 457
The correct syntax is:
RavenQuery.Load<Company>(order.Company)
Upvotes: 2