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

CacheProvider Classes

In addition to the proxy classes, a .NET application is likely to use several classes from InterSystems.Data.CacheClient.dll. The following table describes several of these classes:

Represents the connection to Caché. Initialize an instance with a connection string containing server, port, namespace, user name, and password information.
  • Open — Opens the connection
  • Close — Closes the connection
  • CloseAllObjects — Closes all open objects
Methods and Properties
Represents a collection of child objects inside the parent. Contains an enumerator.
  • Add — Adds an object to the collection.
  • GetEnumerator — Returns an enumerator for the collection.
  • Find — Returns the child object with the specified object ID.
Represents a status code returned by methods such as Save and DeleteId.
  • Code — The status code returned by the Caché method
  • IsOK — Has the value true if the Caché status code indicates succes. Has the value false otherwise.
  • Message — Provides information regarding the status, for example, reasons for a failure code.
FeedbackOpens in a new window