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

Class Specific Methods and Properties

A .NET proxy class also contains projections of many of the class specific features of its corresponding Caché class. The following table describes these projections:

Class Feature
Projection
Methods
A .NET proxy class contains proxies for both the class and instance methods of the corresponding Caché class. Executing the proxy method causes the corresponding Caché method to execute.
Simple Properties
A .NET proxy class has a property corresponding to each public property in the corresponding Caché class. Note that private properties of Caché classes are not projected to .NET.
Collection Properties
A .NET proxy class contains projections of the collections in the corresponding Caché class. The type of the collection corresponds to the Caché type. For example, a Caché list of objects projects to InterSystems.Data.CacheTypes.ListOfObjects, a Caché array of strings projects to InterSystems.Data.CacheTypes.ArrayOfStrings. You can iterate through these collections using the .NET foreach command. They also contain Add and Remove methods for adding and removing elements.
Relationships
A .NET proxy class contains properties representing the properties of a Caché relationship. In the parent (one) side, the collection of children (many-side) is represented as a CacheRelationshipObject. This object is a collection that can be iterated through using foreach. On the child (many) side, the parent (one) side is represented as property whose value is an instance of the .NET proxy for the parent (one) side Caché class.
Queries
A .NET proxy class contains projections of the class queries in the corresponding Caché class. The projection of the query is a method that returns a CacheCommand object that can be used to execute the query.
FeedbackOpens in a new window