Skip to content

Implement automatic driver (ODBC) and provider (OLE DB) inference and detection#47

Merged
lauxjpn merged 5 commits intoCirrusRedOrg:3.1-previewfrom
lauxjpn:feature/provider_detection
Mar 30, 2020
Merged

Implement automatic driver (ODBC) and provider (OLE DB) inference and detection#47
lauxjpn merged 5 commits intoCirrusRedOrg:3.1-previewfrom
lauxjpn:feature/provider_detection

Conversation

@lauxjpn
Copy link
Copy Markdown
Member

@lauxjpn lauxjpn commented Mar 28, 2020

This PR allows to specify just a file name or path as the connection string or omit the driver (ODBC) or provider (OLE DB) part of the connection string.
In those cases, the driver/provider with the most recent version of all installed compatible drivers/providers will be used.
If just a file name is used, JetConfiguration.DefaultDataAccessProviderType will be used as the provider type.

Addresses #45 (comment)


This PR also uses a nightly-build of System.Data.OleDb, that works inside of x86 processes. See dotnet/runtime#33899 for further details.

@lauxjpn lauxjpn self-assigned this Mar 28, 2020
@lauxjpn lauxjpn added this to the 3.1.x milestone Mar 28, 2020
@lauxjpn lauxjpn force-pushed the feature/provider_detection branch from 84aafe4 to bdfbafa Compare March 29, 2020 09:23
@lauxjpn lauxjpn merged commit 2f746e2 into CirrusRedOrg:3.1-preview Mar 30, 2020
@lauxjpn lauxjpn deleted the feature/provider_detection branch March 30, 2020 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants