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! We are using dapper with F# and MSSQL and stumbled accross a problem that - I guess - I hunted down. Give a minute to explain: Our database has...

I have an open SO thread on this, but after whittling it down to just a small amount of work (a basic select statement), I am more and more certain...

sql :“Select Id from table where Id in @Param1 ” parameters: {param1:"param1",param11:"param11"} 使用query方法和以上两个参数 得到的结果却是 Select Id from table1 where Id in param11 ,很奇怪 本该使用param1 作为参数却变成了param11 ![image](https://user-images.githubusercontent.com/31714263/160953408-3a1fa78d-5c79-4b4f-9443-a04731a762e5.png)

I had a problem with QueryAsync (error sql parameter not found, but I use a dynamicparameter) and found out that the "Identity" default constructor use GridIndex with 0, but it...

I can `db.Query(sql, parameters, buffered: false)` But I can't `db.QueryAsync(sql, parameters, buffered: false)` At the same time, the multimap overload of QueryAsync has parameter "buffered" `Task QueryAsync(this IDbConnection cnn, string...

I found this strange behaviour when mapping with dapper. Consider this example: ``` SELECT * FROM `order` o INNER JOIN `order_product` op ON op.order_id = o.order_id WHERE o.order_id = 5153...

版本2.0.123 使用全表查询耗时7S多。数据条数2W条,列数52列。 反射的时候耗时。数据库查询0.5S。不知道如何优化,请帮忙给出意见,谢谢

I have a simple enum just like this: ``` public enum Foo { First, Second, Third } ``` When saving in the dabase, the value are stored as the indexed...

enhancement

Hi, As stated in title I have a memory leak. Here my code: ``` public static T GetRowByCodeName(string table, string codeName) { T t = default; string sql = SELECT_ALL_FROM...