public function saveRawProperties( $id, $properties )
    {
        $result = 0;

        if ( ! empty( $properties ) )
        {
            foreach ( $properties as $property )
            {
                $result += $this->saveProperty(
                    $id,
                    empty( $property['locale'] ) ? null : $property['locale'],
                    empty( $property['name']   ) ? null : $property['name'],
                    empty( $property['value']  ) ? null : $property['value']
                );
            }
        }

        return $result;
    }