Skip to content

Commit

Permalink
Merge pull request #530 from DFE-Digital/feature/173673-add-group-ep
Browse files Browse the repository at this point in the history
Add Project groups endpoints
  • Loading branch information
paullocknimble authored Jul 26, 2024
2 parents 20f31b1 + 623f89b commit 17fa320
Show file tree
Hide file tree
Showing 31 changed files with 3,172 additions and 106 deletions.
14 changes: 14 additions & 0 deletions Dfe.Academies.Academisation.Data/AcademisationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Microsoft.IdentityModel.Tokens;

Expand Down Expand Up @@ -54,6 +55,19 @@ public override int SaveChanges()
return base.SaveChanges();
}

public IExecutionStrategy CreateExecutionStrategy()
{
return base.Database.CreateExecutionStrategy();
}
public async Task<IDbContextTransaction> BeginTransactionAsync()
{
return await base.Database.BeginTransactionAsync();
}
public async Task CommitTransactionAsync()
{
await base.Database.CommitTransactionAsync();
}

public override async Task<int> SaveChangesAsync(CancellationToken cancellationToken = new CancellationToken())
{
await DispatchDomainEventsAsync();
Expand Down
Loading

0 comments on commit 17fa320

Please sign in to comment.