Skip to content

Commit

Permalink
Updated the AU demo projects with the correct version SIF AU 3.4.6 Da…
Browse files Browse the repository at this point in the history
…ta Model.
  • Loading branch information
rafidzal committed May 27, 2020
1 parent 4f28183 commit 8ac0cea
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 434 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,11 @@
</ItemGroup>
<ItemGroup>
<Compile Include="ConsumerApp.cs" />
<Compile Include="Consumers\FinancialQuestionnaireSubmissionConsumer.cs" />
<Compile Include="Consumers\StudentPersonalConsumer.cs" />
<Compile Include="Consumers\StudentPersonalEventConsumer.cs" />
<Compile Include="Consumers\StudentSchoolEnrollmentConsumer.cs" />
<Compile Include="EnrollmentConsumerApp.cs" />
<Compile Include="EventConsumerApp.cs" />
<Compile Include="FinancialQuestionnaireSubmissionConsumerApp.cs" />
<Compile Include="Models\FinancialQuestionnaireSubmission.cs" />
<Compile Include="Models\StudentPersonal.cs" />
<Compile Include="Models\StudentSchoolEnrollment.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand All @@ -77,7 +74,7 @@
<Version>3.2.1.13</Version>
</PackageReference>
<PackageReference Include="Sif.Specification.DataModel.Au">
<Version>3.4.6</Version>
<Version>3.4.6.1</Version>
</PackageReference>
<PackageReference Include="slf4net.log4net">
<Version>0.1.32.1</Version>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ protected void Application_Start()

// XML Serialisation: For each SIF Data Model Object used by each SIF Provider, the following entries are
// required to define the root element for each collection object.
XmlRootAttribute submissionsXmlRootAttribute = new XmlRootAttribute("FinancialQuestionnaireSubmissions") { Namespace = SettingsManager.ProviderSettings.DataModelNamespace, IsNullable = false };
ISerialiser<List<FinancialQuestionnaireSubmission>> submissionsSerialiser = SerialiserFactory.GetXmlSerialiser<List<FinancialQuestionnaireSubmission>>(submissionsXmlRootAttribute);
xmlFormatter.SetSerializer<List<FinancialQuestionnaireSubmission>>((XmlSerializer)submissionsSerialiser);

XmlRootAttribute schoolInfosXmlRootAttribute = new XmlRootAttribute("SchoolInfos") { Namespace = SettingsManager.ProviderSettings.DataModelNamespace, IsNullable = false };
ISerialiser<List<SchoolInfo>> schoolInfosSerialiser = SerialiserFactory.GetXmlSerialiser<List<SchoolInfo>>(schoolInfosXmlRootAttribute);
xmlFormatter.SetSerializer<List<SchoolInfo>>((XmlSerializer)schoolInfosSerialiser);
Expand All @@ -56,7 +52,6 @@ protected void Application_Start()
UseXmlSerializer = true
};
xmlToJsonFormatter.AddUriPathExtensionMapping("json", "application/json");
xmlToJsonFormatter.SetSerializer<List<FinancialQuestionnaireSubmission>>((XmlSerializer)submissionsSerialiser);
xmlToJsonFormatter.SetSerializer<List<SchoolInfo>>((XmlSerializer)schoolInfosSerialiser);
xmlToJsonFormatter.SetSerializer<List<StudentPersonal>>((XmlSerializer)studentPersonalsSerialiser);
xmlToJsonFormatter.SetSerializer<List<StudentSchoolEnrollment>>((XmlSerializer)studentSchoolEnrollmentsSerialiser);
Expand Down

This file was deleted.

Loading

0 comments on commit 8ac0cea

Please sign in to comment.