Dapper
Dapper copied to clipboard
Dapper - a simple object mapper for .Net
**Background** I love Dapper because it adds great support for hydrating immutable objects from a database. For example, it allows us to hydrate objects of the following type like so:...
Hi, i recently had an issue where Dapper would throw a very cryptic exception. After debugging for a while i discovered that it was caused by a property on the...
Hello, I am using Dapper with Firebird for some time and its like a charm. Unfortunatly I am facing a problem, when I try to Insert a record with text...
When providing a custom `TypeHandler` for the type `string`, the `IDbDataParameter.Size` property is overwritten after calling the custom `TypeHandler.SetValue` method. The database provider I'm using does not accept nvarchar parameters...
Enable Enum mapping when a handler is defined.
``` public static class ProposalExtensions { public static void JustShowMeTheCode(IDbConnection cn) { var result = cn.Query( // allows to use anonymous type as result template: new { EmployeeName = ""...
This allows the user to provide their own IDbCommand to be used by Dapper internally.
Right now, the preferred way of passing args to Dapper requires a second parameter, for example: ``` c# string name = ... int id = ... conn.Execute(""" update customer set...
I want to use QueryAsync with multiple types mapped onto a single return type WITH a cancellation token but none of the QueryAsync functions allow for that. My current solution...
We encountered an issue retrieving DynamicParameters using the Get method after the QueryAsync method was finished. The stored procedure always returns the parameters we are looking for. Most of the...