... to accept thechanges to the item, or Esc to undo them. However, even if the user chooses to accept changes tosome LineItem objects, they can still choose to cancel the changes on the Invoice ... object that owns the Component.The user might accept changes to a Component, but cancel the changes to its parent LineItemobject, thereby forcing an undo operation to reverse accepted changes ... UI code can use the same business logic as the data access code. This reducesmaintenance, because you’re not writing some business logic in the Data Access layer, and someother business logic...