Hello,
I’m just using LLBL for ASP.net core with adapter mode v5.6
I have an issue with using DTO classes, In the projection on a database query, the return the dto filled with the related entities even without adding a path in the query
For example for customer and customerDetail
var metaData = new LinqMetaData(adapter);
var q = (from c in metaData.Customer
select c)
.ProjectToCustomer();
resultsDTO = q.ToList();
the resultsDTO contains customer and customerDetail for each customer.
My questions are
Why this behavior by default ?
How I can switch on/off to allow/prevent related entities without doing in memory projection?