Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Comments

Close side panel

Allow overriding the way a SqlConnection is created#119

Merged
damianh merged 1 commit intoSQLStreamStore:masterSQLStreamStore/SQLStreamStore:masterfrom
CumpsD:feature/provide-sqlconnection-factoryCopy head branch name to clipboard
May 2, 2018
Merged

Allow overriding the way a SqlConnection is created#119
damianh merged 1 commit intoSQLStreamStore:masterSQLStreamStore/SQLStreamStore:masterfrom
CumpsD:feature/provide-sqlconnection-factoryCopy head branch name to clipboard

Conversation

@CumpsD
Copy link
Contributor

@CumpsD CumpsD commented Apr 28, 2018

By default a connection is still created using new SqlConnection(connectionstring), except the user now has the ability to override this behavior.

@damianh damianh added this to the v1.1.2 milestone May 2, 2018
@damianh damianh self-assigned this May 2, 2018
@damianh damianh merged commit d4cd654 into SQLStreamStore:master May 2, 2018
@damianh
Copy link
Member

damianh commented May 2, 2018

Merged, thanks @CumpsD !

@CumpsD
Copy link
Contributor Author

CumpsD commented Jul 20, 2018

@damianh it took a while before I managed to use this in our codebase, and I realised, it would've been better to let it make a DbConnect instead of a SqlConnection. I am wrapping a SqlConnection in a class (inheriting from DbConnection since SqlConnection is sealed)

What do you think? Does it make sense to change this to DbConnection?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.