Create-Update-Delete Operation
Objectives¶
-
Commit and rollback changes using an EntityTransaction object.
-
Create new rows in the database by instantiating an entity and persisting it with an EntityManager.
-
Update an underlying database table by calling a set method on an entity.
-
Delete a row from the database by removing an entity from its associated EntityManager.