Serilog.Sinks.MSSqlServer.SqlColumn
Shared column customization options.
Indicates whether NULLs can be stored in this column. Default is true. Always required.
The name of the column in the database. Always required.
For character-storage DataTypes such as CHAR or VARCHAR, this defines the maximum size. The default -1 represents MAX.
The SQL data type to be stored in this column. Always required.
Determines whether a non-clustered index is created for this column. Compound indexes are not
supported for auto-created log tables. This property is only used when auto-creating a log table.
Specifies the sort direction for a non-clustered index on the SQL column.
The default value is Asc. This property is only used when auto-creating a log table.
The name of the Serilog property to use as the value when filling the DataTable.
If not specified, the ColumnName and PropertyName are the same.
Controls whether hierarchical expressions in `PropertyName` are evaluated. The default is `true`.
public SqlColumn()
Default constructor.
Constructor with property initialization.
A constructor that initializes the object from a DataColumn object.