-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #518 from DFE-Digital/governance-in-sat
Governance in sat
- Loading branch information
Showing
19 changed files
with
185 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 0 additions & 51 deletions
51
...mationAcademiesTrusts.Data.AcademiesDb/Contexts/AcademiesDbContext.MstrTrustGovernance.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...rmationAcademiesTrusts.Data.AcademiesDb/Contexts/AcademiesDbContext.TadTrustGovernance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Models.Tad; | ||
using Microsoft.EntityFrameworkCore; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Contexts; | ||
|
||
public partial class AcademiesDbContext | ||
{ | ||
public DbSet<TadTrustGovernance> TadTrustGovernances { get; set; } | ||
|
||
[ExcludeFromCodeCoverage] | ||
protected static void OnModelCreatingTadTrustGovernances(ModelBuilder modelBuilder) | ||
{ | ||
modelBuilder.Entity<TadTrustGovernance>(entity => | ||
{ | ||
entity.HasNoKey().ToTable("TrustGovernance", "tad"); | ||
|
||
entity.Property(e => e.Email) | ||
.IsUnicode(false); | ||
entity.Property(e => e.Gid) | ||
.IsUnicode(false) | ||
.HasColumnName("GID"); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
DfE.FindInformationAcademiesTrusts.Data.AcademiesDb/Models/Mstr/MstrTrustGovernance.cs
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
DfE.FindInformationAcademiesTrusts.Data.AcademiesDb/Models/Tad/TadTrustGovernance.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Models.Tad; | ||
|
||
[ExcludeFromCodeCoverage] // Database model POCO | ||
public class TadTrustGovernance | ||
{ | ||
public string? Gid { get; set; } | ||
|
||
public string? Email { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.