Updating Model Count
The term "updating model count" refers to the number of times any model is updated during the execution of a command. It is used to determine whether a transaction, of any scope, is required to safely execute the command.
Count | Description |
---|---|
0 |
No updates are performed by this command. |
1 |
Indicates that only one model is updated by this command (and its subcommands). Also the success or failure of that update corresponds to the success of failure of the command. It should not be possible for the update to succeed while the command fails. Execution is not considered transactionally unsafe. |
* |
Any number greater than 1 indicates that execution is transactionally unsafe and an XA transaction will be required. |