docs.intersystems.com
Caché Web Applications Tutorial
Show and Theater Properties
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Search:    

You have probably seen enough of Caché class definitions already so that you know how to create classes and properties without step-by-step instructions. So, create Cinema.Show and Cinema.Theater according to the following specifications.

Class Class type Property Data Type
Cinema.Show Persistent Film Cinema.Film
    StartTime %Time(FORMAT=2)
    Theater Cinema.Theater
Cinema.Theater Persistent AdultPrice %Float(SCALE=2,MINVAL=0)
    ChildPrice %Float(SCALE=2,MINVAL=0)
    TheaterName %String
We'll then proceed to adding the ShowTimes query that we will use for our Web page.


Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA