4D v17.4

dataClass.{attributeName}

Home

 
4D v17.4
dataClass.{attributeName}

dataClass.{attributeName} 


 

   
Parameter Type   Description
dataClass.{attributeName}   DataClassAttribute in Dataclass attribute description

The attributes of dataclasses are objects that are available directly as properties of these classes.

The returned objects are of the DataClassAttribute type. These objects have properties that you can read to get information about your dataclass attributes. These properties are listed in the ORDA - DataClassAttribute section.

Note: Dataclass attribute objects can be modified, but the underlying database structure will not be altered.

Example  

 $salary:=ds.Employee.salary //returns the salary attribute in the Employee dataclass
 $compCity:=ds.Company["city"] //returns the city attribute in the Company dataclass



See also 

ORDA - DataClassAttribute

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataClass

 
HISTORY 

New
Created: 4D v17

 
ARTICLE USAGE

4D Language Reference ( 4D v17)
4D Language Reference ( 4D v17.1)
4D Language Reference ( 4D v17.2)
4D Language Reference ( 4D v17.3)
4D Language Reference ( 4D v17.4)