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