External C# Function: BaileyWeb.University.Data.LanguageRequirements

The External C# Function class LanguageRequirements contains the following public methods used across the Inline C# Functions related to the output of language requirement data (Page Datafolder BaileyWeb.University.LanguageRequirements) as XML.

Files

The following files are supplied with the University Package:

  • ~/App_Code/BaileyWeb/University/Data/LanguageRequirements.cs

Public Methods

Method: Description: Output type:
ListLanguageRequirements() Outputs a collection of flat record nodes. Used to show a list of language requirements on the website. XElement
ListLanguageRequirementsEnumerable() Outputs a collection of flat record nodes. Used to show a list of language requirements on the website, or for searches. IEnumerable<XElement>
ListLanguageRequirementsFromCSV(string LanguageRequirementsCSV) Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of language requirements within a record page on the website. XElement
GetLanguageRequirementConcise(Guid LanguageRequirementId) Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a language requirement within a record page on the website. XElement
GetLanguageRequirementFull(Guid LanguageRequirementId) Outputs a single nested record node. Contains all fields from the record, with Data References often shown in sub-nodes. Used to show record of a language requirement on the website. XElement

Updated: 10 March 2022