Skip to content

Fix udt recognition #33

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

henrik-m
Copy link
Contributor

Fixes #18 and fixes #25. You still cannot call functions with UDT arguments from generated LINQPad C# code, but there should be no more exceptions generating the datacontext because of this.
Tested this on the official postgis docker image, where I could reproduce the issues, and extended the relevant test case to ensure it stays fixed.

Bumped the framework version to 4.6 because that was the version I had to use to compile against the latest LINQPad release.

@dlidstrom
Copy link

To test this pull request, download the https://github.com/henrik-m/linqpad-postgresql-driver/tree/fix-udt-recognition branch and build it locally. You'll need to update the project references to your locally installed LINQPad.exe, then make sure the postbuild step in DynamicLinqPadPostgreSqlDriver.csproj actually copies all output files to %LOCALAPPDATA%\LINQPad\Drivers\DataContext\4.6\DynamicLinqPadPostgreSqlDriver (b79463f4d947ddea). I had to copy a few manually (Dapper, not sure why, maybe forgot to close LinqPAD?). Now you'll be able to add connections.

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

Successfully merging this pull request may close these issues.

Unknown Datatype Error ArgumentException - Duplicate type name within an assembly
2 participants