Class SqlFormattingOptions
Provides formatting configuration for SQL reconstruction.
public sealed class SqlFormattingOptions
- Inheritance
-
SqlFormattingOptions
- Inherited Members
- Extension Methods
Constructors
SqlFormattingOptions(SqlFormattingMode, int)
Initializes a new instance of the SqlFormattingOptions class.
public SqlFormattingOptions(SqlFormattingMode mode = SqlFormattingMode.Inline, int indentSize = 4)
Parameters
modeSqlFormattingModeThe formatting mode to apply when rebuilding SQL.
indentSizeintThe number of spaces used per indentation level.
Properties
Default
Gets the default formatting options (inline mode with an indent size of four spaces).
public static SqlFormattingOptions Default { get; }
Property Value
IndentSize
Gets the number of spaces used per indentation level.
public int IndentSize { get; }
Property Value
Mode
Gets the formatting mode used for reconstruction.
public SqlFormattingMode Mode { get; }