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).

Adding using Directives

Add the following using directives to your .NET code when using the CMP object interface, for example, in the PhonebookObj exercise project.


using InterSystems.Data.CacheClient;
using InterSystems.Data.CacheTypes;
Copy code to clipboard

These directives add, respectively, the namespaces containing the InterSystems classes for connecting to Caché and using ADO.NET and the InterSystems base types used by the proxy objects.

Add the following using directives to your .NET code when using the CMP relational interface, for example, in the Phonebook exercise project.


using InterSystems.Data.CacheClient;
using System.Data
Copy code to clipboard

These directives add, respectively, the namespace containing the InterSystems classes for connecting to Caché and using ADO.NET and the general (non-InterSystems specific) ADO.NET classes.

FeedbackOpens in a new window