External C# Function: BaileyWeb.University.Data.Teams
The External C# Function class Teams contains the following public methods used across the Inline C# Functions related to the output of team data (Page Datafolder BaileyWeb.University.Teams) as XML.
Files
The following files are supplied with the University Package:
- ~/App_Code/BaileyWeb/University/Data/Teams.cs
Public Methods
Method: | Description: | Output type: |
---|---|---|
ListTeams() |
Outputs a collection of flat record nodes. Used to show a list of teams on the website. | XElement |
ListTeamsEnumerable() |
Outputs a collection of flat record nodes. Used to show a list of teams on the website, or for searches. | IEnumerable<XElement> |
ListTeamsFromCSV(string TeamsCSV) |
Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of teams within a record page on the website. | XElement |
ListTeamsFromGroupId(Guid GroupId) |
Outputs a collection of flat record nodes from a GUID Id value. Used to show sub-lists of teams within a record page on the website. | XElement |
ListTeamsFromPersonId(Guid PersonId) |
Outputs a collection of flat record nodes from a GUID Id value. Used to show sub-lists of teams within a record page on the website. | XElement |
GetTeamConcise(Guid TeamId) |
Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a team within a record page on the website. | XElement |
GetTeamFull(Guid TeamId) |
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 team on the website. | XElement |