docs.intersystems.com
MultiValue Quick Start Tutorial
Creating the Model Class: Properties
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Search:    

Next we add property declarations to our MVFILE.PersonModel class:

  1. At this stage, the class definition looks like this
    Class MVFILE.PersonModel Extends %ZEN.DataModel.ObjectDataModel 
    [ Language = mvbasic ]
    {
          
    }        
    
  2. Add the following property declarations to the class in between the curly braces:
    Class MVFILE.PersonModel Extends %ZEN.DataModel.ObjectDataModel 
    [ Language = mvbasic ]
    {
    Property ItemId As %String;
    Property Name As %String;
    Property Age As %String;
    Property Hair As %String;
    Property Phones As %String;       
    }        
    
These properties represent the data of the model class.


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