I do not know how to ask this question. So I will just give an example.
Code:
var db = new dbContext();
var dlo = new DataLoadOptions()
dlo.LoadWith<Order>(x => x.Company);
db.LoadOptions = dlo;
var compIds = prms.companies.Select(x => x.Id).ToArray();
as I understand with above code I load Company from Order table and then getting companies by their ID's. Is it same as
var compIds = (from it in context.GetTable<Order>()
select it.Company.Id).ToArray();
? Or am I totally confusing two different concepts?