Skip to main content

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?

Show プロパティと Theater プロパティ

既にクラスとプロパティを生成する方法を理解するために、段階的な手順以外は十分な Caché クラス定義を学習してきました。そこで、以下の指定に従って Cinema.ShowOpens in a new tabCinema.TheaterOpens in a new tab を作成します。

クラス クラス・タイプ プロパティ データ型
Cinema.ShowOpens in a new tab Persistent Film Cinema.FilmOpens in a new tab
    StartTime %TimeOpens in a new tab(FORMAT=2)
    Theater Cinema.TheaterOpens in a new tab
Cinema.TheaterOpens in a new tab Persistent AdultPrice %FloatOpens in a new tab(SCALE=2,MINVAL=0)
    ChildPrice %FloatOpens in a new tab(SCALE=2,MINVAL=0)
    TheaterName %StringOpens in a new tab

それでは次に、Web ページで使用する ShowTimes クエリの追加について学習しましょう。

FeedbackOpens in a new tab