final protected function retrieveObjectIdentityPrimaryKey(ObjectIdentityInterface $oid)
    {
        return $this->connection->executeQuery($this->getSelectObjectIdentityIdSql($oid))->fetchColumn();
    }
final protected function retrieveObjectIdentityPrimaryKey(ObjectIdentityInterface $oid)
    {
        return $this->connection->executeQuery($this->getSelectObjectIdentityIdSql($oid))->fetchColumn();
    }
final protected function retrieveObjectIdentityPrimaryKey ( ObjectIdentityInterface $ oid ) { return $ this -> connection -> executeQuery ( $ this -> getSelectObjectIdentityIdSql ( $ oid ) ) -> fetchColumn ( ) ; }
Returns the primary key of the passed object identity.

@param ObjectIdentityInterface $oid

@return int
Returns the primary key of the passed object identity .