Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

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:

InterSystems.Data.CacheClient
Class
Description
Methods
CacheConnection
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
InterSystem.Data.CacheTypes
Class
Description
Methods and Properties
CacheRelationshipObject
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.
CacheStatus
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.
Feedback