X Tutup
The Wayback Machine - https://web.archive.org/web/20200606200336/https://github.com/StackExchange/Dapper/issues/1298
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

Fix 'ITypeHandler' 'SetValue' method can't intercept 'ValueType' and 'String' type #1298

Open
mypjb opened this issue Jul 23, 2019 · 1 comment
Open

Comments

@mypjb
Copy link

@mypjb mypjb commented Jul 23, 2019

If the typeHandlers.TryGetValue(type, out handler) method should be ranked higher, the typeMap has a list of base types so that 'ITypeHandler' 'SetValue' will have no effect on rewriting the base types.
image

To change the
image

@mypjb
Copy link
Author

@mypjb mypjb commented Jul 23, 2019

My requirements are shown in the figure
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup