DapperLib / DapperLib/Dapper

Best way to override Database.Insert() (Dapper.Rainbow)

Open
#1,087 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
18.4k
Forks
3.7k
Avg merge
5h 8m
Merged PRs (30d)
1

Description

I've posted a question to stackoverflow about how is best to override the Dapper.Rainbow Insert method.

https://stackoverflow.com/questions/51609333/dapper-rainbow-database-insert-removes-id-from-object-how-to-override

If anyone here has an opinion it would be great to hear how you think it should be done.

As a further note to other people suffering issues with this - I got one package from Nuget that didn't remove the Id and another package from Nuget and it started to...not quite sure how as I thought the versions were specified. I also saw another stackoverflow user mentioned inconsistent code in the Nuget packages.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Stack Overflow question and the Dapper.Rainbow Database.Insert method. Compare the reported behavior across the NuGet package versions mentioned in the issue. The issue does not define a requested code change or a clear completion condition, so further maintainer guidance is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
database
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.