Skip to content

Commit

Permalink
Merge pull request #79 from marcwittke/hotfix/5.1.11
Browse files Browse the repository at this point in the history
Hotfix/5.1.11
  • Loading branch information
marcwittke committed Jul 1, 2019
2 parents a0271cc + 385f207 commit 4b88ff0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pack.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
$gitversionresult = dotnet .\lib\GitVersion\GitVersion.dll | ConvertFrom-Json
$NuGetVersion = $gitversionresult.NuGetVersionV2
write-host packing $NuGetVersion
$loc = Get-Location
dotnet pack --output $loc'\nupkg' /p:PackageVersion=5.1.10-alpha0002
dotnet pack --output $loc'\nupkg' /p:PackageVersion=$NuGetVersion
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ protected override void Rollback()
/// <inheritdoc />
public void CompleteCurrentTransaction_InvokeAction_BeginNewTransaction(Action action)
{
Flush();
Commit();
action.Invoke();
DbContext.ResetTransactions();
Expand All @@ -98,6 +99,7 @@ public void CompleteCurrentTransaction_InvokeAction_BeginNewTransaction(Action a
/// <inheritdoc />
public T CompleteCurrentTransaction_InvokeFunction_BeginNewTransaction<T>(Func<T> func)
{
Flush();
Commit();
T result = func.Invoke();
DbContext.ResetTransactions();
Expand All @@ -108,6 +110,7 @@ public T CompleteCurrentTransaction_InvokeFunction_BeginNewTransaction<T>(Func<T
/// <inheritdoc />
public void CompleteCurrentTransaction_BeginNewTransaction()
{
Flush();
Commit();
DbContext.ResetTransactions();
Begin();
Expand Down

0 comments on commit 4b88ff0

Please sign in to comment.