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

Allow script modification before execution #3

Merged
merged 2 commits into from Sep 15, 2017
Merged

Allow script modification before execution #3

merged 2 commits into from Sep 15, 2017

Conversation

chadly
Copy link
Contributor

@chadly chadly commented Sep 15, 2017

Add feature to Database to allow modification of creation/clear scripts before they are executed against the database. This is useful to replace tokens in scripts based on a current context.

Need this for CS-15572

Also updating Database to take connection string in ctor - since it was very annoying that it didn't do that previously.

It was a small annoyance when using this class having to constantly respecify the same connection string for each method you call. It is now stored with the class instance.

+semver:major
Add feature to Database to allow modification of creation/clear scripts before they are executed against the database. This is useful to replace tokens in scripts based on a current context.

+semver:minor
@chadly chadly requested a review from broline September 15, 2017 16:51
@chadly chadly merged commit 0ebdb75 into master Sep 15, 2017
@chadly chadly deleted the tokens branch September 15, 2017 16:57
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.

None yet

2 participants