He promotes it to the Distributed Transaction Coordinator (msdtc) if he discovers several databases that use each area as part of a two-phase commit. Each area votes for commit and, therefore, we get ACID properties, but distribute to the databases. It can also be integrated with TxF, TxR. You should be able to use it as you describe.
Two databases are sequential, since they are connected to transactions with distributed COM +, operating under the control of MTC, database transactions.
If one database votes to commit (for example, by executing (: TransactionScope) .Commit ()), she tells the DTC what it votes to commit. When all the databases have done this, they have a list of changes. Since database transactions are no longer blocked or in conflict with other transactions (for example, using a fairness algorithm that prevents one transaction), all operations for each database are in the transaction log. If the system loses electricity, if it is not yet completed for one database, but it has for another, it was recorded in the transaction log, which all resources voted for commit, so there are no logical consequences that should happen with commit. Therefore, the next time a database that cannot fix downloads completes these transactions that remained in this undefined state.
source share