ReportTaskBodyScriptTemplate Field |
Default body script template: executes the SQL, the script, then the children tasks
Namespace: Seal.ModelAssembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic const string BodyScriptTemplate = "@{\n ReportTask task = Model;\n\n //Execute SQL\n task.ExecuteSQL();\n \n //Execute Script\n task.ExecuteScript();\n\n //Execute children\n if (task.ExecProcessChildren) {\n foreach (var childTask in task.Tasks.OrderBy(i => i.SortOrder))\n {\n childTask.Execute();\n }\n }\n}\n"Field Value
String
See Also