Hi,
Maybe there's already an answer to my question on the forum but I can't find it. Is it possible to add a filter in the generated PrefetchPath code?
public static IPrefetchPathElement2 PrefetchPathSale
{
get
{
return new PrefetchPathElement2(new EntityCollection<SaleEntity>(new SaleEntityFactory()),
HeaderEntity.Relations.SaleEntityUsingTransactionId,
(int)ORMapper.EntityType.HeaderEntity, (int)ORMapper.EntityType.SaleEntity, 0, null, null, null, null, "Sale", SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany);
}
}
I can add a filter manually but this will disappear the moment entities are regenerated.
Tnx,
Andre
- LLBL version 2.0.0.0 Final
- LLBL runtime version v2.0.50727
- .NET version: VS2008 - 9.0.21022.8 Adapter model.