public function executeDelete(EntityMetadata $metadata, Store $store, array $criteria)
    {
        $criteria = $this->getFormatter()->formatQuery($metadata, $store, $criteria);
        return $this->createQueryBuilder($metadata)
            ->remove()
            ->setQueryArray($criteria)
            ->getQuery()
            ->execute();
        ;
    }
public function executeDelete(EntityMetadata $metadata, Store $store, array $criteria)
    {
        $criteria = $this->getFormatter()->formatQuery($metadata, $store, $criteria);
        return $this->createQueryBuilder($metadata)
            ->remove()
            ->setQueryArray($criteria)
            ->getQuery()
            ->execute();
        ;
    }
public function executeDelete ( EntityMetadata $ metadata , Store $ store , array $ criteria ) { $ criteria = $ this -> getFormatter ( ) -> formatQuery ( $ metadata , $ store , $ criteria ) ; return $ this -> createQueryBuilder ( $ metadata ) -> remove ( ) -> setQueryArray ( $ criteria ) -> getQuery ( ) -> execute ( ) ; ; }
Executes a delete for the provided metadata and criteria.

@param   EntityMetadata  $metadata
@param   Store           $store
@param   array           $criteria
@return  array|bool
Executes a delete for the provided metadata and criteria .