Parallel support for ODBC and OLE DB #46
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements ODBC and OLE DB support. Neither
System.Data.Odbc
norSystem.Data.OleDb
is being reference bySystem.Data.Jet
orEntityFrameworkCore.Jet
.However, of course the data access library the user wants to use to connect to the database file must be manually referenced by the user. A meaningful exception is thrown otherwise.
The easiest way to use either ODBC or OLE DB is to just use their appropriate connection string. EFCore.Jet will infer the corresponding data access library and retrieve an instance of its
DbProviderFactory
implementation, that will be used for all data access operations internally.I also added multiple overloads to explicitly specify the data access library.
Closes #45