Is there a way to loop through all of the related entities of an entity in one ForEach loop?
I'm trying to write a template (TDL) which generates a method that accepts a boolean value for each RelatedEntity of an entity.
For instance:
public void UsePrefetch( bool prefetchRelation1, bool prefetchRelation2, ... )
As far as I can tell <[Foreach RelatedEntity>] requires an RelationType which means I cannot always generate a comma where I need one if I have to specify each RelationType
Example:
public void UsePrefetch(<[ Foreach RelatedEntity OneToMany Comma ]> bool prefetch<[MappedFieldNameRelation]><[ NextForeach ]><[ Foreach RelatedEntity OneToMany Comma ]> bool prefetch<[MappedFieldNameRelation]><[ NextForeach ]> etc.
I won't get a comma in between loops if I need one.
RON