Making the Connection
Now all we do is return to the Film class and add a new property called Category. Its data type is Cinema.FilmCategoryOpens in a new tab, the class that we just created. Save and compile Film.

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab
For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?
Now all we do is return to the Film class and add a new property called Category. Its data type is Cinema.FilmCategoryOpens in a new tab, the class that we just created. Save and compile Film.