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

The External C# Function CommonSubjects class is available for use by Inline C# Functions.

Files

The following files are supplied with the University Package:

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

Methods

Method: Description: Output type:
GetSubjectsListLong(string Subjects) From a comma-separated list of SubjectId GUID values, outputs a collection of XML nodes containing full data for specified subjects. XElement
GetSubjectsListShort(string Subjects) From a comma-separated list of SubjectId GUID values, outputs a collection of XML nodes containing concise data for specified subjects. XElement
GetSubjectsByModuleQueryShort(string ModuleId) From a ModuleId GUID value, outputs a collection of XML nodes containing concise data for all subjects that include the specified module. XElement
GetSubjectsByPersonQueryShort(string PersonId) From a PersonId GUID value, outputs a collection of XML nodes containing concise data for all subjects taught by the specified person. XElement
AssembleSubjectTitle(string SubjectName, string SubjectLevelName) Combines input parameters and outputs the title of a subject. String
AssembleSubjectURL(string SubjectCode) Combines input parameters and outputs the URL of a subject. String

Updated: 30 December 2019