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