A simple wrapper on DbConnection and DbCommand that logs SQL statements into an ILogger instance.
Info
Version: | 1.0.1 |
Author(s): | Adel Karzazi |
Last Update: | Monday, April 27, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/akarzazi/DbQueryLogging |
NuGet Url: | https://www.nuget.org/packages/DbQueryLogging |
Install
Install-Package DbQueryLogging
dotnet add package DbQueryLogging
paket add DbQueryLogging
DbQueryLogging Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.Extensions.Logging.Abstractions(>= 3.1.3)
- System.Data.SqlClient(>= 4.8.1)
Tags