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

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

Files

The following files are supplied with the University Package:

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

Methods

Method: Description: Output type:
ListPublications() Outputs a collection of flat record nodes. Used to show a list of publications on the website. XElement
ListPublicationsEnumerable() Outputs a collection of flat record nodes. Used to show a list of publications on the website, or for searches. IEnumerable<XElement>
ListPublicationsFromCSV(string PublicationsCSV) Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of publications within a record page on the website. XElement
ListPublicationsFromEventId(string EventId) Outputs a collection of flat record nodes from a GUID Id value. Used to show sub-lists of publications within a record page on the website. XElement
GetPublicationConcise(Guid PublicationId) Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a publication within a record page on the website. XElement
GetPublicationFull(Guid PublicationId) 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 publication on the website. XElement

Updated: 22 January 2022