Here's my dilemma:
I have an LLBLGen person child entity with an age property that I previously computed via a simple function based on the person's birthdate and current date in the person entity. I'm using the Self Servicing template, so I called the age calc function in the person entity's OnFetch override method.
I just found out that the child entity's age needs to be based on a date stored in an entity two levels above it but see no good way to pass the date down from the top level entity. I could reference the property like this: personEntity.middleEntity.topEntity.dateProperty, but it requires all the referenced objects to be re-fetched from the database for each child entity.
The Adapter template may have been a better approach here, but it's a little late for me to switch now.
Perhaps I could hook into another event to set a class level date variable defined in the person entity?
Any help would be greatly appreciated.