Data Access

Defines how an entity will access the data store—via a database path, or via an entity service.

Value Meaning Description

""

Inherits The value is inherited from the Modeled Entity.

N

None The component entity does not access data in a database.

D

Via DBMS Path Component accesses the data directly via the path specified in Database Path; default. For more information, see Database Path.

Y

Via Entity Service The entity service specified in Database Service is used to access data. For more information, see Entity Service.

Description

This property is only applicable if the Database Behavior property is Y (In Database).

When Uniface reads or writes component data in a database, it normally uses the a path that is defined in the assignment file. Each entity can specify the path to be used. However, entities can also delegate data access to an Entity Service component. This makes it possible to centralize the business logic for database I/O.

Applies To