Hello,
I have the following problem, I try to load data and I'm using prefetch to load subtype (using adapter).
Here is the relation :
UnbundlingPot (main)
<-- 1-Many --> UnbundlingInvoice
<-- Many-1 --> UnbundlingCustomer (mark as subtype of InvoicingCustomer)
Here is my code :
var qf = new QueryFactory();
var q = qf.UnbundlingPot
.WithPath(UnbundlingPotEntity.PrefetchPathCurrency)
.WithPath(UnbundlingPotEntity.PrefetchPathRiskCustomer
.WithSubPath(RiskCustomerEntity.PrefetchPathInvoicingCustomers))
UnbundlingPot, UnbundlingInvoice and InvoicingCustomer are loaded correctly, but the UnbundlingCustomer (subtype of InvoicingCustomer ) is null. I can't see an option to prefetch this entity.
How can I get the subtype loaded ?
Thanks,
Regards,
Using llblgen pro 4.1 Final, Framework .Net 4.5 (VS2012) and SqlServer 2012