Skip to content

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

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

Merged
merged 5 commits into from
Mar 30, 2020

Conversation

lauxjpn
Copy link
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