Академический Документы
Профессиональный Документы
Культура Документы
Database Entities
Topics
● Entities
○ Entity Attributes
○ Basic Data Types
○ Entity Actions
● Static Entities
○ Static Entity Records
○ Using Static Entities
2
Data Modeling in OutSystems
3
Entities
4
Entity Attributes
Each Attribute
● Is a Column on the respective database Table
● Must be one of the Basic Types
5
Basic Data Types
Family OutSystems Data Type Example Default Value
Text “OutSystems” “”
Email “support@mail.com” “”
Integer 42 0
6
Data Type Inference
When naming a new attribute (or variable), OutSystems tries to infer its type
7
Entity Actions
8
Entity Actions in Detail
Id: Entity Id Retrieves from the database the record with the
Get<EntityName>
Record: Entity record provided Id. If it doesn’t exist, an error occurs
Id: Entity Id in database Deletes from the database the record with the
Delete<EntityName>
provided Id. If it doesn’t exist, an error occurs
9
Static Entities
10
Static Entity Records
11
Static Entity Records
12
Using Static Entities
13
Summary
● Entities
○ Entity Attributes
○ Basic Data Types
○ Entity Actions
● Static Entities
○ Static Entity Records
○ Using Static Entities
14
OutSystems
Database Entities
Thank You!