protected function purgePrimaryKeyValue(&$record)
    {
        foreach((array) $this->ORMParameters['primaryKey'] as $field) {
            if(is_array($record) && (isset($record[$field]) || $record[$field] === null)) {
                unset($record[$field]);
            } elseif(is_object($record) && isset($record->$field) ) {
                unset($record->$field);
            }
        }
    }