Materialization Interceptor causing null navigation properties
NATHAN B
0
Reputation points
I'm implementing IMaterializationInteceptor.InitializedInstance:
If I access a navigation property on the object being materialized, it is causing all kinds of null navigation properties afterwards outside the interceptor. Why does this happen?
I have an unmapped property I'm trying to populate that depends on navigating down one of it's navigation properties. I am able to access those entities just fine inside the interceptor and perform the calculation, but then after the interceptor is done, I am getting null navigation properties on entities.
Sign in to answer