Preparing A Project: Basic Steps
In order to use the CMP in a Visual Studio project, you must complete the following steps:
-
Add a reference to the CMP to the project.
-
Add the appropriate using directives to make the CMP's namespaces available in the project.
-
If you will be using the object interface, use CacheNetWizard.exe to generate .NET proxies for your Caché classes and add the proxy classes to your project.
-
Write code that opens a connection to Caché. This code is the same for both the CMP object and relational interfaces.
The following pages provide details for each of these steps.