Select from following answers:
Show Correct Answer
- Wrap the saving of both ObjectContext objects within a TransactionScope object that is implemented in a using statement in which the last line executes the Complete method on the TransactionScope class.
- Just save both ObjectContext objects because they automatically join the same transaction.
- Use a Boolean flag to indicate the success of each save, which will tell you whether the save was successful.
- All Above
Source: MeasureUp.com | |