DapperLib / DapperLib/Dapper.Contrib
In the Dapper.Contrib,I use the 'Insert'Method,It will return a '0'.
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 293
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
I read source code,foun that the Inser method use the 'SCOPE_IDENTITY' to select inffect record.but my Identity type is GUID.So ,It will return '0' to me.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Dapper.Contrib Insert method and its SCOPE_IDENTITY handling. Reproduce an insert using a GUID identity and inspect the returned value. Done means GUID-identity inserts return the inserted identifier rather than 0, with regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100