public function deleteByCustomerId($customerId)
    {
        $connection = $this->getConnection();
        $connection->delete($this->getMainTable(), $connection->quoteInto('customer_id = ?', $customerId));
    }
public function deleteByCustomerId($customerId)
    {
        $connection = $this->getConnection();
        $connection->delete($this->getMainTable(), $connection->quoteInto('customer_id = ?', $customerId));
    }
public function deleteByCustomerId ( $ customerId ) { $ connection = $ this -> getConnection ( ) ; $ connection -> delete ( $ this -> getMainTable ( ) , $ connection -> quoteInto ( 'customer_id = ?' , $ customerId ) ) ; }
Delete all link data for a given customer id.

@param int $customerId the customer Id
Delete all link data for a given customer id .