External C# Function: BaileyWeb.University.Data.Groups
The External C# Function class Groups contains the following public methods used across the Inline C# Functions related to the output of group data (Page Datafolder BaileyWeb.University.Groups) as XML.
Files
The following files are supplied with the University Package:
- ~/App_Code/BaileyWeb/University/Data/Groups.cs
Public Methods
Method: | Description: | Output type: |
---|---|---|
ListGroups() |
Outputs a collection of flat record nodes. Used to show a list of groups on the website. | XElement |
ListGroupsEnumerable() |
Outputs a collection of flat record nodes. Used to show a list of groups on the website, or for searches. | IEnumerable<XElement> |
ListGroupsAndTeams() |
Outputs a collection of nested record nodes. Used to show a list of groups and teams on the website. | XElement |
ListGroupsAndTeamsEnumerable() |
Outputs a collection of nested record nodes. Used to show a list of groups and teams on the website. | IEnumerable<XElement> |
ListGroupsFromCSV(string GroupsCSV) |
Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of groups within a record page on the website. | XElement |
ListGroupsFromPersonId(Guid PersonId) |
Outputs a collection of flat record nodes from a GUID Id value. Used to show sub-lists of groups within a record page on the website. | XElement |
ListGroupsAndTeamsFromGroupTypeId(Guid GroupTypeId) |
Outputs a collection of flat record nodes from a GUID Id value. Used to show sub-lists of groups within a record page on the website. | XElement |
GetGroupConcise(Guid GroupId) |
Outputs a single flat record node. May only contain key fields from the record. Used to show sub-record of a group within a record page on the website. | XElement |
GetGroupFull(Guid GroupId) |
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 group on the website. | XElement |