External C# Function: BaileyWeb.University.Data.CaseStudies
The External C# Function class CaseStudies contains the following public methods used across the Inline C# Functions related to the output of case study data (Page Datafolder BaileyWeb.University.CaseStudies) as XML.
Files
The following files are supplied with the University Package:
- ~/App_Code/BaileyWeb/University/Data/CaseStudies.cs
Public Methods
Method: | Description: | Output type: |
---|---|---|
ListCaseStudies() |
Outputs a collection of flat record nodes. Used to show a list of case studies on the website. | XElement |
ListCaseStudiesEnumerable |
Outputs a collection of flat record nodes. Used to show a list of case studies on the website, or for searches. | IEnumerable<XElement> |
ListCaseStudiesFromCSV(string CaseStudiesCSV) |
Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of case studies within a record page on the website. | XElement |
GetCaseStudyConcise(Guid CaseStudyId) |
Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a case study within a record page on the website. | XElement |
GetCaseStudyFull(Guid CaseStudyId) |
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 case study on the website. | XElement |