Isolate DB-Library code

If possible, isolate DB-Library code from the rest of your application code before you begin the migration. DB-Library code located in separate routines or modules is easier to evaluate, easier to replace, and the converted code will be easier to debug after migration.

If you make code changes to isolate the DB-Library code, test the application to make sure the changed code works correctly before you introduce Client-Library functionality.