Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

19.2 Overview

Occasionally a customer moves away or defects to another video rental store. This necessitates deleting the customer from the customer table. This program accepts a list of customer ID numbers and then deletes them one at a time. The list of customer IDs to delete is read from a file. The deleted customer ID numbers are logged to the output file as they are deleted.

This sample program uses the VVContactRepository class. This class essentially hides the details of the DBTools.h++ code in the same manner that the DBTools.h++ code hides the details of the underlying database API.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.