You may convert an entity to a static entity or a static entity to an entity at any time.

How to Convert an Entity To and From a Static Entity:

In the eSpace tree, under the Data layer, right-click on the static entity and select the option to Change to ...

You should execute this operation in the following cases:

After converting an entity to a static entity a Records folder is displayed. Fill it by converting the entity's database records to static data records through the 'Import from Database' operation. See how to import records from the database.

The Entity Actions to create, update and delete entity records are not available for static entities because the OutSystems Platform manages the static entity records persistency for you. This also means that you won't be able to insert, update or delete static entity records in aggregates or SQL queries.

After converting a static entity to an entity the Records folder and all the records in it are deleted from the eSpace. Since the OutSystems Platform has managed the static entity records persistency for you, all the entity records are in the platform database. Manage those records using the (now) available create, update and delete entity actions. Also, you are able to insert, update and delete the records in the aggregates and SQL queries.

See Also

About Static Entities | Static Entity Properties | Entity Properties