English

FAQ: What happens to active transactions when an edit operation is started?

Question

What happens to active transactions when an edit operation is started?

Answer

If there are any active transactions, inserts, updates or deletes that have not been committed when an edit operation is started, the act of starting the edit operation will commit any transactions.

The IWorkspaceEdit.StartEditOperation method when called, first executes a commit for the workspace, and then starts a new transaction for the edit operation.

Developers should understand the scope of all transactions in their applications and ensure any uncommited changes are committed prior to calling StartEditOperation.