-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
SqlMapper.AddTypeHandler Parse Method Not being Invoked. #1915
Comments
I deleted the original code from the post and instead created a small sample project which demonstrates the issue. |
Anyone reading these? |
Yes, multiple people (but mostly: me), however at the current time I have not had an opportunity to investigate this, let alone change anything, so: there was nothing to respond with. Ultimately this isn't my day job, and we don't have a support agreement to answer you in X time, or at all. The code is there if you want to investigate, or it can wait on my availability. Right now, most of my spare time has been going towards the "next steps" for Dapper (see #1909), although by design that doesn't impact how the existing library behaves. Short answer, then (too late) "yes, I've seen this; I don't have an answer right now, as I haven't had time to investigate" |
That's quite alright I completely understand and appreciate your effort. I was just wondering because I didn't see any comments. Take your time and don't forget to take a day off now and then!! LOL Thanks! |
VB.Net Windows desktop application, Dapper 2.0.123 Dapper.Contrib 2.0.78
Even though the TypeHandler is registered on app startup. Cx.Get(of T) - Fails saying unable to parse the column containing the UDT and the Parse Method of the TypeHandler is NEVER invoked. I CAN do an insert without any issues and the SetValue() Method IS invoked. Very odd behavior.
I have built a small sample vb.net app to demonstrate the problem. Inside the VB.Net app is a text file with the SQL script for creating the DB and Table (I also included a backup of the database if that's easier)
DapperExample - TypeHandler.zip
UDTTesting - Copy.zip
The text was updated successfully, but these errors were encountered: