I notice sometimes with my parent/child objects or many-to-many relationships, I need to call either SaveOrUpdate
or Merge
. Usually, when I need to call SaveOrUpdate
, the exception I get on calling Merge
has to do with transient objects not being saved first.
Please explain the difference between the two.
Question&Answers:os