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

Remove dependency of Oqtane.Server on SqlClient #1340

Merged
merged 5 commits into from
May 11, 2021
Merged

Remove dependency of Oqtane.Server on SqlClient #1340

merged 5 commits into from
May 11, 2021

Conversation

cnurse
Copy link
Contributor

@cnurse cnurse commented May 11, 2021

The SqlRepository class is dependent on SqlClient (Sql Server). In order to support multiple databases, this dependency must be removed, and replaced by a dependency on IOqtaneDatabase. This pull request adds two new methods to IOqtaneDatabase, ExecuteRedaer and ExecuteNonQuery as well as the specific implementations in the 4 database projects. The implementation has been tested in Sql Server and Sqlite.

In addition there are some minor namespace changes in the new database projects - for consistency

@sbwalker sbwalker merged commit c926fa0 into oqtane:dev May 11, 2021
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.

2 participants