Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

Getting Started

Here are the initial steps for completing the application:

  1. Import the Caché classes provided for you in Contacts.xml. Populate the Contact and PhoneNumber classes. See the note below for the locations of instructions for importing and populating.

  2. Open the Visual Studio solution named Phonebook in Visual Studio. See the note below for instructions on locating this solution.

  3. You will be working in the PhonebookObj project. Set this as the StartUp Project.

  4. Use CacheNetWizard.exe to generate proxy classes for Provider.Contact and Provider.PhoneNumber. Add the source file to the project. See Part I: The Basics for instructions.

  5. Add a reference to InterSystems.Data.CacheClient.dll — see Part I: The Basics for instructions.

  6. Add the required using directives — see Part I: The Basics for instructions.

  7. Complete the InitConnection in PhoneFormObj.cs. This method should initialize and open a CacheConnection instance named cnCache. See Part I: The Basics for instructions.

  8. Add code that invokes Dispose on cnCache to the form's Dispose method. This method is in PhoneFormObj.Designer.cs. See Part I: The Basics for instructions.


See Example and Exercise Files for the location of the various tutorial files.

See Installing Caché Classes and Populating the Database for instructions on installing and populating the Caché classes.

FeedbackOpens in a new window