I have the need to perform some custom logic in my EF 4 STE public getters and setters. However, I only want this custom logic to execute if EF is not currently hydrating an entity.
Are there any built in flags, statuses or object states that can be checked to determine if EF is currently in the act of hydrating a STE entity on my behalf?
I am not doing lazy loading, so we perform all our data loading in one shot. I'm hoping I don't have to change the Entity T4 templates to add the infrastructure to track this stuff myself.
Thanks, Nate