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

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

Files

The following files are supplied with the University Package:

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

Methods

Method: Description: Output type:
ListCampaigns() Outputs a collection of flat record nodes. Used to show a list of campaigns on the website. XElement
ListCampaignsEnumerable() Outputs a collection of flat record nodes. Used to show a list of campaigns on the website, or for searches. IEnumerable<XElement>
ListCampaignsFromCSV(string CampaignsCSV) Outputs a collection of flat record nodes from a CSV list of GUID Id values. Used to show sub-lists of campaigns within a record page on the website. XElement
ListCampaignsFromCampaignTypeId(Guid CampaignTypeId) Outputs a collection of flat record nodes from a GUID Id value. Used to show sub-lists of campaigns within a record page on the website. XElement
GetCampaignConcise(Guid CampaignId) Outputs a collection of flat record nodes. Used to show a list of campaigns on the website. XElement
GetCampaignFull(Guid CampaignId) Outputs a collection of flat record nodes. Used to show a list of campaigns on the website, or for searches. XElement

Updated: 18 January 2022