/// <summary>
        /// Copies private member variables from another object.
        /// </summary>
        /// <remarks>
        /// Called by the copy constructor.
        /// </remarks>
        /// <param name="old">The original object to copy from.</param>
        private void CopyMembers(EntityReferenceBase <T> old)
        {
            this.guid = old.guid;
            this.name = old.name;

            this.value = old.value;
        }
 /// <summary>
 /// The copy constructor that creates a deep copy of the
 /// <b>ReferencedEntity</b> class passes as parameter.
 /// </summary>
 /// <param name="old">The original object to copy from.</param>
 public EntityReferenceBase(EntityReferenceBase <T> old)
 {
     CopyMembers(old);
 }