Database Polymorphism

Category:
Database
Type:
Classes
Difficulty:
Intermediate
Author:
John Conwell

Version Compatibility: Visual Basic 6

More information:
This vb app contains classes which demonstrate how to use polymorphism. Specifically, you select which type of database you want to call and the code will use the principles of polymorphism to call the specific database class.

The application itself is a shell containing the interface, a few classes that implement the interface, and some suggested ADO code that is commented out. It is a starting point designed to demonstrate polymorphism and its benefits, and it is up to you to implement and/or extend the interface.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download dbpolymorphism.zip