• Configuration Syntax
  • Parameters
  • General Options
  • Connection Options
  • SQL Statement
  • Installation Options
  • Command and connection properties
  • Examples
  • About DbType and IRawValue
  • Example Configurations
  • NLog and SQL Server Example Configuration
  • NLog and SQL Server using a stored procedure
  • NLog target configuration
  • SQL scripts to set up the database objects
  • Example: simple logs to database target
  • Example: log with custom properties:
  • Example allowDbNull:
  • Example: log with custom properties, not all in the message
  • DbProvider Examples
  • MySql and .NET Core
  • System.Data.SQLite and .NET Core
  • Microsoft.Data.SqlClient and .NET Core
  • Microsoft.Data.Sqlite and .NET Core
  • Npgsql and .NET core
  • Oracle.ManagedDataAccess and .NET
  • Mono.Data.Sqlite and .NET