About Entity Object Row States

The following figure shows the possible entity row states:

Figure that shows possible entity row (transaction) states, including new, modified, unmodified, deleted, and dead, and the methods that get them in that state.
 New is created with ViewRow.setAttribute (from Start) and ViewObject.createRow (from New state).
 Modified is created with ViewRow.setAttribute (from Modified or Unmodified states).
 Unmodified is created with Transaction.commit (from New or Modified states) or ViewObject.executeQuery, next, and so on (from Start).
 Deleted is created from ViewRow.remove (Modified or Unmodified states).
 Dead is created from ViewRow.remove (New state) or Transaction.commit (Deleted state).

The following figure shows the possible entity row post states, and the progression between them:

Figure that shows possible entity row post states. It is the same as the preceding figure, 
except the Unmodified state is created with Transaction.postChanges (instead of Transaction.commit) from the New or Modified states.