Again i really think that getting the id of the parent should not
trigger lazy load, as confirmed in BasicLazyInitializer Code :

public virtual object Invoke(MethodInfo method, object[] args, object
proxy)
                {
                        string methodName = method.Name;
                        int paramCount = method.GetParameters().Length;

                        if (paramCount == 0)
                        {
                                if (!overridesEquals && methodName == 
"GetHashCode")
                                {
                                        return 
IdentityEqualityComparer.GetHashCode(proxy);
                                }
                                else if (IsUninitialized &&
IsEqualToIdentifierMethod(method))  !!!!!!!!!!!!
HERE!!!!!!!!!!!!!!!!!!!
                                {
                                        return Identifier;
                                }

So i think something else is going on ?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to