Dapper icon indicating copy to clipboard operation
Dapper copied to clipboard

Dapper - a simple object mapper for .Net

Results 304 Dapper issues
Sort by recently updated
recently updated
newest added

This is https://github.com/DapperLib/Dapper/pull/471 (thanks @pzavolinsky), fixed to work with current `main` and with a test added.

Hi, Npgsql 6 introduced support for positional parameters rather than named ones which is more efficient when using Postgres since it is expecting positional parameters (details here: https://www.roji.org/parameters-batching-and-sql-rewriting). Are there...

Includes pretty test summaries :)

i want to get a bit return value from sp bit return value such this: `CREATE PROC GetBit AS BEGIN DECLARE @JJ BIT = 1; RETURN @JJ END` this code...

![Screenshot (18)](https://user-images.githubusercontent.com/90167077/132633822-7ff72870-64e5-4ea5-9184-af0a0218a383.png) private void setConnection() { sql_con = new SQLiteConnection("Data Source = DBEmployeeManagement.db;Version = 3; New = False;Compress=True"); } private void ExecuteQuery(string txtQuery) { setConnection(); sql_con.Open(); sql_cmd = sql_con.CreateCommand(); sql_cmd.CommandText...

When I was trying to insert a large size of string into oracle clob type, I will see exception : Specified argument was out of the range of valid values.

db:oracle

As per [THIS](https://stackoverflow.com/questions/39431270/why-is-the-setvalue-not-invoked-in-a-dapper-custom-typehandler) question: Given: ``` csharp public class GuidHandler : SqlMapper.TypeHandler { public override void SetValue(IDbDataParameter parameter, Guid value) { // My Custom logic } public override Guid Parse(object...

breaking-change
v3.0

I have an enum that is serialized to the DB using a single letter code. I tried adding a custom type handler for the enum to handle the conversion but...

bug
v3.0

Some providers don't support pipelining multiple concurrent requests on the same connection but do support sending multiple commands using the new [System.Data.Common.DbBatch](https://docs.microsoft.com/en-us/dotnet/api/system.data.common.dbbatch). I have in mind `npgsql` (see [documentation](https://www.npgsql.org/doc/performance.html#batchingpipelining)). It...

In some rare cases Dapper sends requests to SQLServer without parameters. I was able to reproduce it in test project: https://github.com/dj-raphael/Dapper-test-lost-parameters To reproduce, you should start this project in Visual...

bug