Building the Sample Environment on Windows - Synergex/SqlReplication GitHub Wiki
Development Environment
This sample includes a Visual Studio development environment. Get started by opening the solution file SQLReplicaiton.sln
. The solution contains several projects, as follows:
Library Project
This project contains subroutines, functions, and classes that are used both by the sample application and by the replicator program. Note that the main code that is used to interact with the relational database (DepartmentSqlIO.dbl and EmployeeSqlIO.dbl) is in this library. The two "SqlIO" files were generated by CodeGen.
Replicator Project
This project contains the replicator program as well as several subroutines and functions that it uses.
Tools Project
This project contains several utility programs.
One of the utility programs is named ReplicatorMenu and it can interact with and control a running replicator process.
Another of the utility programs is named EmployeeMaintenance and can be used to maintain the contents of the employee data file that this environment is configured to replicate to the SQL database.
Building the Code in Visual Studio
- Start Visual Studio and open the solution called SQLReplicaiton.sln.
- From the Build menu, select "Rebuild Solution."