TMDM-7627 : Fix the issue that can't Link parent to child when creating a FK(point to itself's entity ) on the fly.