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

The Inline C# Function named ListSubjectsAsDictionary produces a custom dictionary<guid,string> list of subjects (Page Datafolder BaileyWeb.University.Subjects), grouped by education levels (Global Datatype BaileyWeb.University.EducationLevels).

It is referenced to distinguish subjects with identical subject names at differing education levels (Bachelor's Degree, Master's Degree, etc).

Files

The following files are supplied with the University Package:

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

Parameters

None.

Function Markup

None.

Sub Functions

None.

Text Strings

None.

Sample Output Code

result[0] : (483a7fe9-8a9f-4c36-8024-e2c772bab932, Bachelor's Degree - Drama)
result[1] : (08b98af7-d72d-415b-8906-6a27d253b90b, Bachelor's Degree - English Literature)
result[2] : (3f02d49a-e1ea-4173-9c11-7c14d4ee14c8, Master's Degree - Drama)

Updated: 16 January 2022