Program.cs

Version InfoThis topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector

using EPiServer.MarketingAutomationIntegration.Core.Enums;
using EPiServer.MarketingAutomationIntegration.Domain;

namespace DemoConnector.Models
{
    /// <summary>
    /// Represents a domain-specific program instance.
    /// </summary>
    public class Program : IProgram
    {
        /// <summary>
        /// The internal Id of the Program. The marketing automation interface 
        /// uses this Id when calling into various service methods.
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// The Name of the program.
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// Notes about the progam.
        /// </summary>
        public string Notes { get; set; }
        /// <summary>
        /// The state of the current program. 
        /// </summary>
        public ProgramState State { get; set; }
        /// <summary>
        /// The list Id to which this program instance is associated.
        /// </summary>
        public int ListId { get; set; }
    }

}

Related topics

Last updated: Dec 14, 2015