Using xSQL Builder
Code Template
xSQL Builder uses a set of template files to generate the
executable package. The template files are C# classes that contain
the compare and synchronize code that runs on the client machine.
xSQL Builder ships with a VS.NET 2005 C# project that you can run
or modify as needed. When you generate an executable package, the
configuration utility performs the followings with the code
template:
- It copies the configuration files and the snapshot of the
master database to the \Resources subfolder located under the code
template main folder.
- It compiles all the template files with extension .cs located
under the code template folder into the executable package. You can
add new custom classes and those will be compiled as well.
You can choose to run the code template from the VS.NET 2005 and
get the same result as you would get running the executable. Refer
to the
Appendix A for details on how
to run the code template in VS.NET 2005.