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.