private void OnEntityLoaded(object sender, EntityLoadedEventHandlerArgs e)
        {
            InterceptLoad(globalInterceptors, e.Entity);

            Type entityType = ObjectContext.GetObjectType(e.Entity.GetType());
            IEnumerable<IEntityInterceptor> entityInterceptors = interceptorsResolver.GetEntityInterceptors(entityType);
            InterceptLoad(entityInterceptors, e.Entity);
        }
        private void OnEntityLoaded(object sender, EntityLoadedEventHandlerArgs e)
        {
            InterceptLoad(globalInterceptors, e.Entity);

            Type entityType = ObjectContext.GetObjectType(e.Entity.GetType());
            IEnumerable <IEntityInterceptor> entityInterceptors = interceptorsResolver.GetEntityInterceptors(entityType);

            InterceptLoad(entityInterceptors, e.Entity);
        }