protected function mapAutoIDs(array $arr_auto_id_requested)
    {
        if (!empty($arr_auto_id_requested)) {
            $arr_auto_ids = $this->extractAutoIDs();
            if(count($arr_auto_id_requested) === count($arr_auto_ids)) {
                foreach ($arr_auto_id_requested as $int_idx => $obj_gds_entity) {
                    $obj_gds_entity->setKeyId($arr_auto_ids[$int_idx]);
                }
            } else {
                throw new \Exception("Mismatch count of requested & returned Auto IDs");
            }
        }
    }
protected function mapAutoIDs(array $arr_auto_id_requested)
    {
        if (!empty($arr_auto_id_requested)) {
            $arr_auto_ids = $this->extractAutoIDs();
            if(count($arr_auto_id_requested) === count($arr_auto_ids)) {
                foreach ($arr_auto_id_requested as $int_idx => $obj_gds_entity) {
                    $obj_gds_entity->setKeyId($arr_auto_ids[$int_idx]);
                }
            } else {
                throw new \Exception("Mismatch count of requested & returned Auto IDs");
            }
        }
    }
protected function mapAutoIDs ( array $ arr_auto_id_requested ) { if ( ! empty ( $ arr_auto_id_requested ) ) { $ arr_auto_ids = $ this -> extractAutoIDs ( ) ; if ( count ( $ arr_auto_id_requested ) === count ( $ arr_auto_ids ) ) { foreach ( $ arr_auto_id_requested as $ int_idx => $ obj_gds_entity ) { $ obj_gds_entity -> setKeyId ( $ arr_auto_ids [ $ int_idx ] ) ; } } else { throw new \ Exception ( "Mismatch count of requested & returned Auto IDs" ) ; } } }
Record the Auto-generated Key IDs against the GDS Entities.

@param \GDS\Entity[] $arr_auto_id_requested
@throws \Exception
Record the Auto - generated Key IDs against the GDS Entities .