Click or drag to resize

AuditAuditScriptTemplate Field

Default template of the Audit Script proposed in the server configuration

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public const string AuditScriptTemplate = "@{\n    Audit audit = Model;\n    //Default implementation: insert the audit record into the 'sr_audit' table of the data source\n    //having a name starting with 'Audit'. The table (and new columns after an upgrade) is created automatically.\n    //Customize this script to filter events or route them elsewhere, e.g.\n    //if (audit.Type == AuditType.AIChat) { /* custom processing using audit properties */ }\n    audit.LogToDatabase();\n}\n"

Field Value

String
See Also