Adds the records to the inputed mime data as a text representation
        under the application/x-orb-records
        
        :param      mimeData | [<orb.Table>, ..]

def dataStoreRecords(mimeData, record_items):
        """
        Adds the records to the inputed mime data as a text representation
        under the application/x-orb-records
        
        :param      mimeData | [<orb.Table>, ..]
        """
        record_data = []
        for record_item in record_items:
            record = record_item.record()
            if record is None:
                continue
            
            repro = '%s(%s)' % (record.schema().name(), record.primaryKey())
            record_data.append(repro)
        
        if not record_data:
            return
        
        record_data = ';'.join(record_data)
        mimeData.setData('application/x-orb-records', QByteArray(record_data))
        
        # store the associated mime data for the individual record
        if len(record_items) == 1:
            for format, value in record_items[0].dragData().items():
                mimeData.setData(format, QByteArray(value))