Inline C# Function: BaileyWeb.University.Data.ListCourseFeesSortedByEducationLevel

The Inline C# Function named ListCourseFeesSortedByEducationLevel retrieves a list of course fees, sorted by education level (Global Datatype BaileyWeb.University.EducationLevels).

Files

The following files are supplied with the University Package:

  • ~/App_Data/Composite/InlineCSharpFunctions/BaileyWeb.University.Data.ListCourseFeesSortedByEducationLevel.cs

Parameters

None.

Function Markup

None.

Sub Functions

This function relies upon the following sub functions for data:

Text Strings

None.

Sample Output Code

<CourseFeeEducationLevelsList>
  <CourseFeeEducationLevels>
    <CourseFeeEducationLevel Id="c7f67a05-e021-48cc-9e61-1f027578afd0">
      <EducationLevel>Associate Degree</EducationLevel>
      <CourseFeeBandsList>
        <CourseFeeBands Input="c7f67a05-e021-48cc-9e61-1f027578afd0">
          <CourseFeeBand Id="e17ed387-faa2-40e2-a290-b889cebe7c33">
            <CourseFeeBandName>Associate Degree</CourseFeeBandName>
            <CourseFeeBandCostsList>
              [... ListCourseFeeBandsFromEducationLevelId(Guid EducationLevelId) ...]
            </CourseFeeBandCostsList>
          </CourseFeeBand>
        </CourseFeeBands>
      </CourseFeeBandsList>
    </CourseFeeEducationLevel>
    <CourseFeeEducationLevel Id="12276bfc-cd33-4b50-8206-b4d2d0696c02">
      <EducationLevel>Bachelor's Degree</EducationLevel>
      <CourseFeeBandsList>
        <CourseFeeBands Input="12276bfc-cd33-4b50-8206-b4d2d0696c02">
          <CourseFeeBand Id="c7c5e747-2f4f-4d0e-a728-643610522264">
            <CourseFeeBandName>Bachelor's Degree A</CourseFeeBandName>
            <CourseFeeBandCostsList>
              [... ListCourseFeeBandsFromEducationLevelId(Guid EducationLevelId) ...]
            </CourseFeeBandCostsList>
          </CourseFeeBand>
          <CourseFeeBand Id="c2610c0c-e298-4dd4-88be-9111b285a57d">
            <CourseFeeBandName>Bachelor's Degree B</CourseFeeBandName>
            <CourseFeeBandCostsList>
              [... ListCourseFeeBandsFromEducationLevelId(Guid EducationLevelId) ...]
            </CourseFeeBandCostsList>
          </CourseFeeBand>
        </CourseFeeBands>
      </CourseFeeBandsList>
    </CourseFeeEducationLevel>
  </CourseFeeEducationLevels>
  <Compiled DateTime="27/06/2021 16:38:27" />
</CourseFeeEducationLevelsList>

Updated: 27 June 2021