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

Add OnSaveChanges callback for implementing custom Units of Work #156

Merged
merged 2 commits into from
Aug 24, 2017

Conversation

SzymonPobiega
Copy link
Member

@SzymonPobiega SzymonPobiega commented Aug 23, 2017

To be merged after tests-on-core

@SzymonPobiega SzymonPobiega self-assigned this Aug 23, 2017
@SzymonPobiega SzymonPobiega changed the title Added OnSaveChanges callback for implementing UoW [WIP] Added OnSaveChanges callback for implementing UoW Aug 23, 2017
@SzymonPobiega SzymonPobiega added this to the 3.0.0 milestone Aug 23, 2017
* Run tests on .net core

* disabled core build for unit tests until approval tests have core edition

* Updated to latest sql transport.

* Fixed connection string.

* Fixed inspections.

* Fixed dtc tests.

* Fixed last 2 tests.
@@ -20,16 +22,27 @@ public StorageSession(DbConnection connection, DbTransaction transaction, bool o
internal SagaInfoCache InfoCache { get; }
public DbTransaction Transaction { get; }
public DbConnection Connection { get; }
public void OnSaveChanges(Func<ISqlStorageSession, Task> callback)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should also nullcheck callback

@SimonCropp
Copy link
Contributor

minor feedback. but rest looks good

@SzymonPobiega SzymonPobiega changed the title [WIP] Added OnSaveChanges callback for implementing UoW Added OnSaveChanges callback for implementing UoW Aug 24, 2017
@SzymonPobiega SzymonPobiega merged commit 54bb250 into tests-on-core Aug 24, 2017
@SzymonPobiega SzymonPobiega deleted the onsavedchanges branch August 24, 2017 06:58
@SzymonPobiega SzymonPobiega changed the title Added OnSaveChanges callback for implementing UoW Add OnSaveChanges callback for implementing custom Units of Work Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants