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

Hi, Using Microsoft.Data.SqlClient 5.2.0 and Dapper 2.1.44, we've noticed an issue with the new DateOnly type support from [#2051](https://github.com/DapperLib/Dapper/pull/2051). Using a simple class such as ``` public class PersonTest {...

I have been using Dapper.dll (2.1.35) with system.data.odbc in windows with .net 8 ,however when I publish the same in linux box I'm seeing below issue when I run the...

Hi! Thanks for providing this library. We use it all the time. I saw that [you unlisted version 2.1.37](https://github.com/DapperLib/Dapper/issues/2061) and that the latest stable release is in NuGet is 2.1.35...

Used the following handler with SQL-Server, works as expected. ```csharp public class DateOnlyTypeHandler : SqlMapper.TypeHandler { public override void SetValue(IDbDataParameter parameter, DateOnly date) { parameter.Value = date.ToString("yyyy-MM-dd"); } public override...

**Intro** Looks like Dapper doesn't support `byte` data type in the `IN` clause. ``` Microsoft.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '@Types'. at Microsoft.Data.SqlClient.SqlCommand.c.b__195_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback,...

Fixes #2067 The code for `SqlMapper.PackListParameters` was not using the custom type handler. This caused an error like `No mapping exists from object type xxxxx to a known managed provider...

Dapper is throwing an error when running a query in the following scenario: - the parameter is a collection of objects of a given type T - and the type...

Idea is simple, but i know there will be some pushback from people who scream SQL injection. Im wrote my own micro ORM, there is outdated open source version here...

Looks like Dapper twice enumerates IEnumerable passed as TVP ``` var numbers = GenerateNumbers(3); BulkInsert(numbers); static IEnumerable GenerateNumbers(int count) { for (int i = 0; i < count; i++) {...

bug
up-for-grabs

This simplifies the syntax that allows queries to run with the same parameter types regardless of the actual size of the data as described in issue #1536.