Table of Contents

Enum SqlCaptureMode

Namespace
IceCoffee.Db4Net
Assembly
IceCoffee.Db4Net.dll

Specifies the strategy for including SQL statements when throwing exceptions.

public enum SqlCaptureMode

Fields

Always = 2

Always include the SQL statement in the exception.

Never = 1

Never include the SQL statement in the exception.

OnlyDebuggerAttached = 0

Include the SQL statement only when a debugger is attached.