Skip to content

Revisit: The God Provider Is Not Enough #844

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

Thorium
Copy link
Member

@Thorium Thorium commented Apr 17, 2025

Now, 10 years later, this is a second take on @simonhdickson old PR #85

High level changes:

  • Add a separate SQLProvider.Common project (FSharp.Data.SqlProvider.Common.dll) to contain all the shared code.
  • Keep old SQLProvider.Runtime and SQLProvider.DesignTime if people want to still use those, there is no reason not to.
  • Where X is the database: Added separate specific SQLProvider.X.DesignTime (FSharp.Data.SqlProvider.X.dll) and SQLProvider.X.Runtime (FSharp.Data.SqlProvider.X.DesignTime.dll) projects These will be packed as separate NuGet packages as SQLProvider.X

Usage:

  • SqlDataProvider is the same type as before, (with same constructors) but these separate packages have it under different namespaces, so besides of open FSharp.Data.Sql you have to open another namespace as well, like e.g. open FSharp.Data.Sql.MsSql

Nuget Packages

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.

1 participant