Keep using some of the application tables in Btrieve after the SQL Migration
In same cases we would like to work in SQL but also keep some tables in Btrieve, this is needed when some of our tables are shared with other applications. In this case we will need to change the DataSource of these tables in order to keep working with them in Btrieve.
Change the DataSource
- First we will need to add the new DataSource to our migrated application.
- Below is the DataSource of a migrated Northwind application
- Now Let's add a new DataSource
- Notice the name "KeepInBtrieve"
- Notice that the new entry using ConnectionManager.
- Notice that "GetDataProvider" points to the same "Btrieve" as the original one
Set The Tables that we would like to keep working with Btrieve
- Change the table DataSource from Btrieve to KeepInBtrieve
- Now when you run your application the data for "Categories" will be based on Btrieve, and the rest of your tables will be based on SQL
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com