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

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

Files

The following files are supplied with the University Package:

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

Methods

Method: Description: Output type:
ListProjects() Outputs a collection of flat record nodes. Used to show a list of projects on the website. XElement
ListProjectsEnumerable() Outputs a collection of flat record nodes. Used to show a list of projects on the website, or for searches. IEnumerable<XElement>
ListProjectsFromCSV(string ProjectsCSV) Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of projects within a record page on the website. XElement
GetProjectConcise(Guid ProjectId) Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a project within a record page on the website. XElement
GetProjectFull(Guid ProjectId) 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 project on the website. XElement

Updated: 22 January 2022