Tables (reading and updating)
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Tables (reading and updating)
The API provides access to tables for multi-tenant purposes using
the ITable interface. The only writeable property
is the IsMultitenant property, and then only when
the table is not yet enabled for multi-tenancy.
The service returns tables that can be multi-tenant enabled and accessed with ABL code. The service does not expose the (hidden) schema tables in the Data Dictionary and tables that only can be accessed from SQL.
The following example shows how to enable a table for multi-tenancy:
|
It is also possible to retrieve a collection of tables in the
database from the service and then update the multi-tenant related
properties in the instances on the ITableSet collection
before passing the collection to the service to commit all changes
in a single transaction.
For more information on the:
-
ITableentity interface, see ITable interface3 -
ITableSetentity collection interface, see ITableSet interface