May 2017
Intermediate to advanced
442 pages
11h 55m
English
There are a few special methods that are used when writing a data entity, which are as follows:
|
Method |
Description |
|
updateEntityDataSource |
This is called when updating an existing record |
|
deleteEntityDataSource |
This is called when deleting a record |
|
insertEntityDataSource |
This is called when inserting a new record |
|
initializeEntityDataSource |
This is called when a record is initialized. |
These methods are used so that we can update related records that are not directly affected by the tables in the entity. A good example is when a table is related to DirPartyTable. We can't simply delete the related party record in this case when the parent is deleted, as it may be used in other roles.
The following ...
Read now
Unlock full access