X Tutup
The Wayback Machine - https://web.archive.org/web/20201227093411/https://github.com/StackExchange/Dapper/pull/1438
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dapper.Contrib Nullable ID (#581) #1438

Open
wants to merge 2 commits into
base: main
from

Conversation

@jurakovic
Copy link

@jurakovic jurakovic commented Apr 16, 2020

Added support for Nullable ID property in Dapper.Contrib
Fix for issue #581

@NickCraver
Copy link
Member

@NickCraver NickCraver commented May 2, 2020

Can you please provide any tests illustrating the use case this fixes?

@jurakovic
Copy link
Author

@jurakovic jurakovic commented May 2, 2020

I have added InsertUserNullableId test
For some reason i cannot run tests in VS. No errors are shown so I don't know where is the problem :/
But I have tested it somehow outside of solution and it passes :)

@gilb195
Copy link

@gilb195 gilb195 commented May 28, 2020

I've been experiencing this issue as well since I'm using a nullable int for the ID in my models. Thank you @jurakovic for this PR - would love to see this merged and fixed soon.

@NickCraver NickCraver changed the base branch from master to main Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.
X Tutup