Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

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;

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

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 tab