Dapper
Dapper copied to clipboard
Dapper - a simple object mapper for .Net
I'm using Dapper to connect to a MySQL database for data queries. The project runs fine locally, but when I deploy it to AWS EKS, the service starts up normally....
Can i use "Insert or replace into " as simple as use "insert"? for example: db.InsertOrReplace(). Very Thanks.
As a potential contributor to the Dapper project, I noticed the absence of a '**CONTRIBUTING.md**' file in the repository. This document typically provides guidance to people who are considering contributing...
I gave highest precedence to custom type handlers. This aims to fix #259 by ensuring if a custom type handler is registered the custom type handler is always used instead...
We encountered a problem, few place "Error parsing column" exception occurs when executing the function which in turn returns data from view. This is db schema of view in Oracle...
Hi, is there a way to tell Dapper to use specific TypeHandlers depending on the type of database (e.g. SQLite/SQL Server/MySQL/etc.) that is being queried? My situation: I am using...
Hi, I was wondering if this is an intentional feature or a bug. Correct behavior I think: If one uses a designated type (for example a record) to map the...
As discussed in issue #1815, the current implementation of SqlMapper.AddTypeHandlerImpl is not thread-safe. When typeHandlers is cloned during concurrent access to this method, a race condition occurs because each thread...
With the following 2 tables and view in an SQLite database: CREATE TABLE table01 ( id INTEGER NOT NULL PRIMARY KEY, name TEXT NOT NULL, code TEXT NULL, ranking INTEGER...
System.InvalidCastException:Error parsing column 0 (id='a-char-type-value-in-datebase' - Object) in /_/Dapper/SqlMapper.cs:line 3928 at Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) at Deserialize8cb9bee9-c2a8-4fec-bfdc-167531fec084(DbDataReader) This is example: public class user { public string...