Areas (creating and reading)
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Areas (creating and reading)
The following code shows how to use the API service
to create and read an area using the IArea interface.
The area cannot be deleted from the database after it has been created
and consequently the service has no delete method:
|
Note: Creation is only supported on a local connection.
The properties cannot be edited after creation, but the update method is used to add extents to the area:
|
It is also possible to retrieve a collection of areas in the
database from the service and create areas and/or add extent to
the areas in the IAreaSet collection before passing
the collection to the service:
|
For more information on the:
-
IAreaentity interface, see IArea interface -
IAreaSetentity collection interface, see IAreaSet interface