Refer to object classes and object class properties

The name of the database table is specified by the Tech Name attribute of the object class. The names of the columns in the table are specified by the Tech Name attribute of the object class properties of the respective object class. For most standard Alfabet object classes and properties, the Tech Name is identical to the Name attribute of the object class or property. All Tech Name attributes are written in upper case letters.

If the technical name derived from the object class name conflicts with keywords reserved for the relational database management system (RDBMS ) of the database server, the Tech Name will be written with a prefix "T_" for tables of object classes and a prefix "A_" for columns representing attributes.

The following query targets the database table storing organizations. While the Name of the object class is Organization , the TechName is ORGAUNIT:

The native SQL must use the Tech Name to find organizations:

  • SELECT org.REFSTR, org.NAME
  • FROM ORGAUNIT org

Each object class property has an attribute Property Type that specifies how data must be defined (for example, as a string, date, integer, reference, etc.). The Property Type determines how the data is stored in the database tables:

Property type Stored as:
Boolean bit
Date datetime
DateTime datetime
Integer int
Real float
RealArray nvarchar(max)
Reference varchar(20)
ReferenceArray nvarchar(max)
String varchar($Size$)
StringArray nvarchar(max)
Text nvarchar(max)
Time datetime
Url nvarchar(max)

There are a number a characteristics that are relevant for query building: