Enum SqlCaptureMode
Specifies the strategy for including SQL statements when throwing exceptions.
public enum SqlCaptureMode
Fields
Always = 2Always include the SQL statement in the exception.
Never = 1Never include the SQL statement in the exception.
OnlyDebuggerAttached = 0Include the SQL statement only when a debugger is attached.