public override bool Equals(object obj)
        {
            LocalKey other = obj as LocalKey;

            return(other != null && localKey == other.localKey && parent == other.parent);
        }
        public override bool EqualsIgnoringParent(ObjectKey obj)
        {
            LocalKey other = obj as LocalKey;

            return(other != null && localKey == other.localKey);
        }