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

Caché Objects

generated description: cubestudio

Basic also allows you to write code to access objects. A full discussion of Caché classes, objects, properties, methods, and queries is beyond the scope of this tutorial. You can learn about these topics by trying one or more of our other tutorials. During this tutorial, we've been working with a database of Persons. You can think of an entry in the ^PersonD global as 1) a persistent object in the Person class, and 2) a row in the Person relational table. We'll now take a brief look at Caché Objects.

Using Studio, re-load the BAS project from SAMPLES. In the Classes folder, in the BasTutorial package, you'll find a class called Person, with three properties: Name, Phone, and DOB. This class will enable you work with Person objects using a much simpler syntax. You won't have to think about pieces and delimiters anymore.

generated description: personclass

FeedbackOpens in a new window