Dapper.Contrib
Dapper.Contrib copied to clipboard
Dapper community contributions - additional extensions for Dapper
When using the new modifier on a property within a child class both the property from the parent and child class are added to the SQL parameters causing an exception...
Why a hard reference to the column "id" on line 112 in below code?: https://github.com/DapperLib/Dapper.Contrib/blob/cf24f6bdc577b1e071c3764ddfb2cf3382531405/src/Dapper.Contrib/SqlMapperExtensions.cs#L112 Even when this column is NOT in an index.....
Hello, not sure if this is an issue of Dapper, or Dapper.Contrib. I tried to insert some data into an existing table via a self made REST API, but it...
Hey, So I've been playing with the idea of adding a few extra Update and Insert methods which allow you to pick properties that you want to update, rather that...
So here I sit and switch from EF to Dapper because CodeFirst with several thousands of AddOrUpdate in Seed was getting a bit irritating when debugging thanks to our beloved...
Hi, some fields in my table have underscores like full_name so i did `DefaultTypeMap.MatchNamesWithUnderscores = true;` which works just fine when i retrieve entity with Get but throws "Invalid column...
Any plans to support ~~Cancellation~~ CancellationToken with Insert, Update, Delete etc, methods?
With SQL Server, every helper that sports a `WHERE` predicate, when receiving some key property of type `string`, is liable to incur implicit conversion. `string` gets translated into `nvarchar` but...
```C# [Table("MyTable")] public class TableEntity { [ExplicitKey] public string Name { get; set; } [ExplicitKey] public Guid Id { get; set; } } ``` The error happens when calling ```C#...
The implementation should be quite simple I believe, similar to how Get or GetAll are implemented. Here's the extension method I've been using: ```cs public static int Count(this IDbConnection connection)...