Skip to content

Fix udt recognition#33

Open
henrik-m wants to merge 6 commits intofknx:masterfrom
henrik-m:fix-udt-recognition
Open

Fix udt recognition#33
henrik-m wants to merge 6 commits intofknx:masterfrom
henrik-m:fix-udt-recognition

Conversation

@henrik-m
Copy link
Copy Markdown
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
Copy Markdown

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