« LogOperation (TdbfEventLog) » : différence entre les versions
(Page créée avec « <source lang='delphi'>class procedure LogOperation(iEvent:Integer; const iInformations:String);</source> Cette méthode de classe permet d'enregistrer une opération. Une... ») |
Aucun résumé des modifications |
||
Ligne 15 : | Ligne 15 : | ||
|Informaions complémentaires | |Informaions complémentaires | ||
|} | |} | ||
Exemple : | |||
<source lang="delphi"> | |||
function logOperation(iCode:Integer; const iInformations:string):boolean; | |||
begin | |||
ClassManager.beginTran; | |||
try | |||
TdbfEventLog.logOperation(iCode,iInformations); | |||
Result := ClassManager.Commit; | |||
except | |||
ClassManager.RollBack; | |||
end; | |||
end; | |||
</source> | |||
Voir aussi : | Voir aussi : |
Dernière version du 2 juin 2017 à 13:57
<source lang='delphi'>class procedure LogOperation(iEvent:Integer; const iInformations:String);</source>
Cette méthode de classe permet d'enregistrer une opération. Une opération est un évènement dont le code opération es normalisé.
Paramètre | Usage |
---|---|
iEvent | identifiant de l'opération |
iInformations | Informaions complémentaires |
Exemple :
<source lang="delphi"> function logOperation(iCode:Integer; const iInformations:string):boolean; begin
ClassManager.beginTran; try TdbfEventLog.logOperation(iCode,iInformations); Result := ClassManager.Commit; except ClassManager.RollBack; end;
end; </source>
Voir aussi :
{{#if:TdbfEventLog (Class)|
{{#if:TdbfEventLog (Class)|— TdbfEventLog (Class) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}