Skip to content

Commit 2462254

Browse files
committed
C21v58 Schema Update
Support for C21v58
1 parent f53026f commit 2462254

185 files changed

Lines changed: 12022 additions & 28503 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/EduHub.Data.SchemaParser/Program.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ static void Main(string[] args)
1818

1919
var schema = EduHubSchema.FromC7Schema(c7Elements);
2020

21-
// TODO: Update SQL Schema with SGFC
22-
schema.RemoveEntity("SGFC");
23-
foreach (var field in schema.Entities.SelectMany(e => e.Fields))
24-
{
25-
if (field.ForeignParentKey.EntityName == "SGFC")
26-
{
27-
field.ForeignParentKey = default((string, string));
28-
}
29-
}
30-
3121
// Augment with Database Information
3222
DbParser.AugmentSchemaFromCsv(csvDirectory, schema);
3323

src/EduHub.Data/CASES21v55 Schema.xml

Lines changed: 0 additions & 7164 deletions
This file was deleted.

src/EduHub.Data/CASES21v56 Schema v2.xml

Lines changed: 0 additions & 11203 deletions
This file was deleted.

src/EduHub.Data/CASES21v56 Schema.xml

Lines changed: 0 additions & 7282 deletions
This file was deleted.
Lines changed: 1144 additions & 822 deletions
Large diffs are not rendered by default.

src/EduHub.Data/EduHub.Data.csproj

Lines changed: 80 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,73 @@
5252
<Compile Include="EduHubContextBase.cs" />
5353
<Compile Include="EduHubDataSetNotFoundException.cs" />
5454
<Compile Include="EduHubSqlServerWriteMode.cs" />
55-
<Compile Include="Entities\TETNDataSetHelpers.cs" />
56-
<Compile Include="Entities\TCTQDataSetHelpers.cs" />
57-
<Compile Include="Entities\TCTDDataSetHelpers.cs" />
58-
<Compile Include="Entities\SVAGDataSetHelpers.cs" />
59-
<Compile Include="Entities\STVDODataSetHelpers.cs" />
60-
<Compile Include="Entities\STVDIDataSetHelpers.cs" />
61-
<Compile Include="Entities\ST_TFRDataSetHelpers.cs" />
62-
<Compile Include="Entities\STDataSetHelpers.cs" />
63-
<Compile Include="Entities\SPEMAILDataSetHelpers.cs" />
64-
<Compile Include="Entities\SMC_TFRDataSetHelpers.cs" />
65-
<Compile Include="Entities\SMCDataSetHelpers.cs" />
66-
<Compile Include="Entities\QBDataSetHelpers.cs" />
67-
<Compile Include="Entities\KDODataSetHelpers.cs" />
68-
<Compile Include="Entities\KDIDataSetHelpers.cs" />
69-
<Compile Include="Entities\KCYDataSetHelpers.cs" />
70-
<Compile Include="Entities\KCM_TFRDataSetHelpers.cs" />
71-
<Compile Include="Entities\KCMDataSetHelpers.cs" />
72-
<Compile Include="Entities\DRFDataSetHelpers.cs" />
73-
<Compile Include="Entities\DFDataSetHelpers.cs" />
74-
<Compile Include="Entities\CRFDataSetHelpers.cs" />
75-
<Compile Include="Entities\CRDataSetHelpers.cs" />
55+
<Compile Include="Entities\EduHubDataSetSqlValidation.cs" />
56+
<Compile Include="Entities\BANKSIG.cs">
57+
<DependentUpon>EntityGenerator.tt</DependentUpon>
58+
</Compile>
59+
<Compile Include="Entities\BANKSIGDataSet.cs">
60+
<DependentUpon>EntityGenerator.tt</DependentUpon>
61+
</Compile>
62+
<Compile Include="Entities\CRTT.cs">
63+
<DependentUpon>EntityGenerator.tt</DependentUpon>
64+
</Compile>
65+
<Compile Include="Entities\CRTTDataSet.cs">
66+
<DependentUpon>EntityGenerator.tt</DependentUpon>
67+
</Compile>
68+
<Compile Include="Entities\KSCORE.cs">
69+
<DependentUpon>EntityGenerator.tt</DependentUpon>
70+
</Compile>
71+
<Compile Include="Entities\KSCOREDataSet.cs">
72+
<DependentUpon>EntityGenerator.tt</DependentUpon>
73+
</Compile>
74+
<Compile Include="Entities\KSTREET.cs">
75+
<DependentUpon>EntityGenerator.tt</DependentUpon>
76+
</Compile>
77+
<Compile Include="Entities\KSTREETDataSet.cs">
78+
<DependentUpon>EntityGenerator.tt</DependentUpon>
79+
</Compile>
80+
<Compile Include="Entities\KTT.cs">
81+
<DependentUpon>EntityGenerator.tt</DependentUpon>
82+
</Compile>
83+
<Compile Include="Entities\KTTDataSet.cs">
84+
<DependentUpon>EntityGenerator.tt</DependentUpon>
85+
</Compile>
86+
<Compile Include="Entities\QSAC.cs">
87+
<DependentUpon>EntityGenerator.tt</DependentUpon>
88+
</Compile>
89+
<Compile Include="Entities\QSACDataSet.cs">
90+
<DependentUpon>EntityGenerator.tt</DependentUpon>
91+
</Compile>
92+
<Compile Include="Entities\QSAD.cs">
93+
<DependentUpon>EntityGenerator.tt</DependentUpon>
94+
</Compile>
95+
<Compile Include="Entities\QSADDataSet.cs">
96+
<DependentUpon>EntityGenerator.tt</DependentUpon>
97+
</Compile>
98+
<Compile Include="Entities\QSAG.cs">
99+
<DependentUpon>EntityGenerator.tt</DependentUpon>
100+
</Compile>
101+
<Compile Include="Entities\QSAGDataSet.cs">
102+
<DependentUpon>EntityGenerator.tt</DependentUpon>
103+
</Compile>
104+
<Compile Include="Entities\QSAT.cs">
105+
<DependentUpon>EntityGenerator.tt</DependentUpon>
106+
</Compile>
107+
<Compile Include="Entities\QSATDataSet.cs">
108+
<DependentUpon>EntityGenerator.tt</DependentUpon>
109+
</Compile>
110+
<Compile Include="Entities\SGFC.cs">
111+
<DependentUpon>EntityGenerator.tt</DependentUpon>
112+
</Compile>
113+
<Compile Include="Entities\SGFCDataSet.cs">
114+
<DependentUpon>EntityGenerator.tt</DependentUpon>
115+
</Compile>
116+
<Compile Include="Entities\SPEMRG.cs">
117+
<DependentUpon>EntityGenerator.tt</DependentUpon>
118+
</Compile>
119+
<Compile Include="Entities\SPEMRGDataSet.cs">
120+
<DependentUpon>EntityGenerator.tt</DependentUpon>
121+
</Compile>
76122
<Compile Include="Entities\EduHubDataSetDataReader.cs" />
77123
<Compile Include="Entities\EduHubDataSetDeltaReader.cs" />
78124
<Compile Include="Entities\EduHubDataSetLoadedReader.cs" />
@@ -1463,6 +1509,18 @@
14631509
<Compile Include="Entities\SPWWWDataSet.cs">
14641510
<DependentUpon>EntityGenerator.tt</DependentUpon>
14651511
</Compile>
1512+
<Compile Include="Entities\SP_RECIP.cs">
1513+
<DependentUpon>EntityGenerator.tt</DependentUpon>
1514+
</Compile>
1515+
<Compile Include="Entities\SP_RECIPDataSet.cs">
1516+
<DependentUpon>EntityGenerator.tt</DependentUpon>
1517+
</Compile>
1518+
<Compile Include="Entities\SP_REPLY.cs">
1519+
<DependentUpon>EntityGenerator.tt</DependentUpon>
1520+
</Compile>
1521+
<Compile Include="Entities\SP_REPLYDataSet.cs">
1522+
<DependentUpon>EntityGenerator.tt</DependentUpon>
1523+
</Compile>
14661524
<Compile Include="Entities\SRAG.cs">
14671525
<DependentUpon>EntityGenerator.tt</DependentUpon>
14681526
</Compile>
@@ -1901,7 +1959,6 @@
19011959
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
19021960
</ItemGroup>
19031961
<ItemGroup>
1904-
<None Include="CASES21v55 Schema.xml" />
19051962
<None Include="EduHubContext.tt">
19061963
<Generator>TextTemplatingFileGenerator</Generator>
19071964
<LastGenOutput>EduHubContext.cs</LastGenOutput>
@@ -1912,10 +1969,7 @@
19121969
</None>
19131970
</ItemGroup>
19141971
<ItemGroup>
1915-
<None Include="CASES21v56 Schema.xml" />
1916-
</ItemGroup>
1917-
<ItemGroup>
1918-
<None Include="CASES21v56 Schema v2.xml" />
1972+
<Content Include="CASES21v58 Schema.xml" />
19191973
</ItemGroup>
19201974
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
19211975
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 commit comments

Comments
 (0)