public function getForeignM2MRelatedName($code = true)
    {
        return $this->getReferencedTable()->getManyToManyRelatedName($this->getOwningTable()->getRawTableName(), implode('_', $this->getLocalColumns()), $code);
    }