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

I'm using Dapper in a .net core app to connect to a postgres database using npgsql. I'm using Entity Framework to manage the schema, but querying exclusively with Dapper. I...

MySQL 5.6 does not seem to support 'select * from students (id in (select null where 1=0))'

[A prior issue](https://github.com/StackExchange/dapper-dot-net/issues/573) resulted in [this fix](https://github.com/StackExchange/dapper-dot-net/pull/577). I guess no one bothered to check the original test case. It is still not "fixed": var sql = new SqlBuilder(); var tpl...

Hi, We faced with "Index was outside the bounds of the array." exception inside Dapper library. Unfortunately, we don't have many details for reproducing step-by-step, it was reproduced only once...

**Awareness of Existing Features:** I am not aware of whether this feature already exists in newer versions of Dapper. If it does, please forgive the redundancy of this request. However,...

I have a parameter in C# ```{C#} var selectedUsersIds = new long[]{1,2,3}; ``` which I want to pass to a UDTF in Snowflake: ```{sql} CREATE OR REPLACE FUNCTION GetUserInfo (...

Hi, If i install the Dapper package in my c# .Net framework 4.8 version project, i am getting the below error in jenkins. What is the solution for this? Error:-...

Dapper could offer several `AddListener` methods: before query execution, after query execution, after exception. ```csharp AddBeforeQueryExectutionListener(Action action, bool failOnError = false); AddAfterQueryExectutionListener(Action action, bool failOnError = false); AddAfterQueryExceptionListener(Action action); ```...

We encountered an issue where an SQL error within a stored procedure did not result in an exception being thrown in C#. (MSSQL Server 2022) I have condensed it into...

I used to have this custom type handler configured: `SqlMapper.AddTypeHandler(new DapperSqlDateOnlyTypeHandler());` Mapping class is: ``` public class DapperSqlDateOnlyTypeHandler : SqlMapper.TypeHandler { public override void SetValue(IDbDataParameter parameter, DateOnly date) => parameter.Value...