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

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

Files

The following files are supplied with the University Package:

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

Public Methods

Method: Description: Output type:
ListEvents() Outputs a collection of flat record nodes. Used to show a list of events on the website. XElement
ListEventsEnumerable() Outputs a collection of flat record nodes. Used to show a list of events on the website, or for searches. IEnumerable<XElement>
ListEventsUpcoming() Outputs a collection of flat record nodes. Used to show a list of upcoming events on the website. XElement
ListEventsUpcomingEnumerable() Outputs a collection of flat record nodes. Used to show a list of upcoming events on the website, or for searches. IEnumerable<XElement>
ListEventsFromCSV(string EventsCSV) Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of events within a record page on the website. XElement
GetEventConcise(Guid EventId) Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of an event within a record page on the website. XElement
GetEventFull(Guid EventId) 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 an event on the website. XElement

Updated: 10 March 2022