RollBackLongTran (CM)
<source lang='delphi'>procedure RollBacklongTran;</source>
Cette procédure annule une transaction longue.
| Pas de paramètre. |
Exemple <source lang='delphi'> var idx:Integer; begin
ClassManager.BeginLonTran(100,'MaClass');
try
for idx:=0 to VeryBigInt do
begin
doProcessItem(idx);
ClassManager.BatchLongTran;
end;
ClassManager.CommitLongTran;
except
ClassManager.RollBackLongTran;
raise;
end;
end; </source>
Voir aussi
{{#if:Gestion des transactions (CM)|
{{#if:Gestion des transactions (CM)|— Gestion des transactions (CM) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}