Skip to content
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

Split the block into sparate packages for each database #13

Open
tsahi opened this issue Jul 16, 2020 · 0 comments
Open

Split the block into sparate packages for each database #13

tsahi opened this issue Jul 16, 2020 · 0 comments
Labels
enhancement New feature or request P3 Priority 3
Milestone

Comments

@tsahi
Copy link
Owner

tsahi commented Jul 16, 2020

Is your feature request related to a problem? Please describe.
Today there is one big package that supports SQL Server, Oracle, and SqlCE. There is no reason people using SQL Server will take a dependency on packages supporting Oracle, and vice-versa.

Describe the solution you'd like
We should split the package to several packages, so that:

  1. One base package will carry the base functionality, e.g. the abstract Database class, the caching, etc.
  2. A SQL Server package will depend on the base package, but will also depend on Microsoft.Data.SqlClient.
  3. An Oracle package will depend on the base package, but will also depend on Oracle.ManagedDataAccess[.Core]
  4. A SqlCE package will depend on the base package. This won't bring new dependencies.
  5. A Generic (very small) package will depend on the base package, exposing the GenericDatabase for use with OldDb provider.

Additional context
of course, once we support .NET Core, the dependencies will be on the .NET Core or .NET Framework versions of each database-specific package.

@tsahi tsahi added the enhancement New feature or request label Jul 16, 2020
@tsahi tsahi added this to the 8.0 milestone Jul 16, 2020
@tsahi tsahi changed the title split the block into sparate packages for each database Split the block into sparate packages for each database Jul 16, 2020
@tsahi tsahi added the P3 Priority 3 label Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 Priority 3
Projects
None yet
Development

No branches or pull requests

1 participant