Reinier Olislagers 11 years ago
parent
commit
2acb2cab73
1 changed files with 2 additions and 0 deletions
  1. 2 0
      systables.pas

+ 2 - 0
systables.pas

@@ -45,12 +45,14 @@ type
     // Returns object list (list of object names, i.e. tables, views) sorted by dependency
     // Returns object list (list of object names, i.e. tables, views) sorted by dependency
     // Limits sorting within one category (e.g. views)
     // Limits sorting within one category (e.g. views)
     procedure SortDependencies(var ObjectList: TStringList);
     procedure SortDependencies(var ObjectList: TStringList);
+    // Gets information on specified trigger
     function GetTriggerInfo(DatabaseIndex: Integer; ATriggername: string;
     function GetTriggerInfo(DatabaseIndex: Integer; ATriggername: string;
       var AfterBefore, OnTable, Event, Body: string; var TriggerEnabled: Boolean;
       var AfterBefore, OnTable, Event, Body: string; var TriggerEnabled: Boolean;
       var TriggerPosition: Integer): Boolean;
       var TriggerPosition: Integer): Boolean;
     // Scripts all check constraints for a database's tables as alter table
     // Scripts all check constraints for a database's tables as alter table
     // statement, adding the SQL to List
     // statement, adding the SQL to List
     function ScriptCheckConstraints(dbIndex: Integer; List: TStrings): boolean;
     function ScriptCheckConstraints(dbIndex: Integer; List: TStrings): boolean;
+    // Script trigger creation for specified trigger
     function ScriptTrigger(dbIndex: Integer; ATriggerName: string; List: TStrings;
     function ScriptTrigger(dbIndex: Integer; ATriggerName: string; List: TStrings;
       AsCreate: Boolean = False): Boolean;
       AsCreate: Boolean = False): Boolean;
     // Used e.g. in scripting foreign keys
     // Used e.g. in scripting foreign keys