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

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

Files

The following files are supplied with the University Package:

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

Methods

Method: Description: Output type:
ListPartners() Outputs a collection of flat record nodes. Used to show a list of partner organisations on the website. XElement
ListPartnersEnumerable() Outputs a collection of flat record nodes. Used to show a list of partner organisations on the website, or for searches. IEnumerable<XElement>
ListPartnersFromCSV(string PartnersCSV) Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of partner organisations within a record page on the website. XElement
GetPartnerConcise(Guid PartnerId) Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a partner organisation within a record page on the website. XElement
GetPartnerFull(Guid PartnerId) 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 partner organisation on the website. XElement

Updated: 22 January 2022