Dapper
Dapper copied to clipboard
Dapper - a simple object mapper for .Net
- Added explicit check for `decimal?` types in GetDeserializer - Returns 0m when encountering a NULL value - Maintains existing behavior for other types Closes #1573
I use custom Dapper ITypeHandler to automap between C# string[] and mysql Json field. But it causes confict to handle SQL parameters 1. table CREATE TABLE if NOT EXISTS `post`...
### Background Dapper allows custom Type Handlers and Type Mappers to be provided in order to get the required output from your database. Both of these constructs are used when...
# Environment: OS: Ubuntu 22.04 (QEMU) Arch: ARM64 .NET SDK version: 8.0 # Build I had build at x86_64 Windows Machine by below command line. ```bash dotnet publish -c Release...
Since `HttpClientFactory` injects an `ILogger` and uses `LogDebug` to log requests and responses, it would be helpful to do the same with `Dapper` to log `SQL` statements. It could be...
I have an application in ASP.NET MVC + ASP.NET API (.NET 9, OS Windows Server 2022, MS SQL 2022), where I use the Dapper library (2.1.66) to call stored procedures...
`GridReader.Read` has multimap support, but none for `GridReader.ReadAsync`.
Parameter Type Mapping Precision Issue in Dapper Parameterized Queries When using Dapper for parameterized queries, automatically inferred database parameter types based on the parameter value's DbType may lack precision. For...
Addresses #958
This issue is really for left-outer-joins where we would expect a null object if there is no match. Unfortunately, the object is not coming back null even though the 'spliton'...