-
Notifications
You must be signed in to change notification settings - Fork 139
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
SqlGeography support for ObjectReader? #62
Comments
what happens currently?
…On Wed, 29 Aug 2018 at 21:06, tippmar ***@***.***> wrote:
I'm trying to use ObjectReader to facilitate SQL bulk copy but it doesn't
seem to support SqlGeography data types. Not unexpected, I guess, but I'm
wondering if it's possible to add support for SqlGeography?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#62>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABDsOFTu01ov6BtGw9NlCIL66i1El8Eks5uVvRIgaJpZM4WSPQ8>
.
--
Regards,
Marc
|
Well, after some more investigation, it seems my problem may not be related to ObjectReader specifically. It's a convoluted sequence involving interfaces, auto-generated proxy classes (via AutoMapper) and ObjectReader and BulkCopy all in combination. When I create a simple test, passing a list of concrete class instances, ObjectReader and BulkCopy work just fine. I'll keep digging and reopen if it seems necessary. |
A tad more Googling and I turned up this issue #35 and the related SO question https://stackoverflow.com/questions/41241131/fastmember-objectreader-doesnt-work-with-inherited-interfaces - that's the error I was getting. The SO question points to a code change that fixed the problem; I don't know if that change is suitable for integration into FastMember or not. |
I'm trying to use ObjectReader to facilitate SQL bulk copy but it doesn't seem to support SqlGeography data types. Not unexpected, I guess, but I'm wondering if it's possible to add support for SqlGeography?
The text was updated successfully, but these errors were encountered: