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.
|
Purpose of this instance: Draft documentation
DocReleaseID: Core2018.1.11
Content loaded from:
/staging/ce/2018.1.11/doc/cache/en-us/src/
/staging/ce/2018.1.11/doc/ensemble/en-us/src/
/staging/ce/2018.1.11/doc/isp/en-us/src/
/staging/learning/zenmojo-doc/en-us/src/