Click or drag to resize

TraceHelper Class

Container class for the static traceswitch objects used by the tracing logic in the ORMSupportclasses.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesTraceHelper

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static class TraceHelper

The TraceHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberTraceActionDenied
Traces the action failure, if any, to the info level tracer of ORMPersistenceExecution.
Public methodStatic memberWriteIf(Boolean, Object)
Writes the value with no category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, String)
Writes the message with no category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, Object, String)
Writes the value with the remark of the category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, String, String)
Writes the message with the remark of the category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, String, String, Object)
Writes the message with the remark of the category specified to the trace output, if condition is true. Will not format the message if the condition is false.
Public methodStatic memberWriteLineIf(Boolean, Object)
Writes the value with no category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, String)
Writes the message with no category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, Object, String)
Writes the value with the remark of the category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, String, String)
Writes the message with the remark of the category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, String, String, Object)
Writes the message with the remark of the category specified to the trace output with a newline, if condition is true. Will not format the message if the condition is false.
Top
Fields
  NameDescription
Public fieldStatic memberGeneralSwitch
General switch which is used by general code in the ORM Support classes.
Public fieldStatic memberPersistenceExecutionSwitch
Switch which is used by entity / other data persistence logic execution code in the ORM Support classes
Public fieldStatic memberPlainSQLQueryExecutionSwitch
Switch which is used by the plain SQL api to log executed statements.
Public fieldStatic memberQueryExecutionSwitch
Switch which is used by the query objects in the ORM support classes.
Public fieldStatic memberStateManagementSwitch
Switch which is used by state management code in the ORM Support classes.
Top
See Also