Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

DataList class

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

   The DataList class represents a domain specific data list, which can a list of contacts, resources, buildings, or anything else.

  • Inheritance hierarchy.

    System.Object
        DemoConnector.Models.DataList

  • NamespaceDemoConnector.Models
  • Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
  • C# syntax
    public class DataList
    

Constructor 

Initializes a new instance of the DataList class

  • Namespace. DemoConnector.Models
  • Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
  • C# Syntax
    public DataList()

Properties 

The DataList type exposes the following public class members.

DataList.Id property 

The internal Id of the list. MAI will use this ID when calling into various service methods.

  • NamespaceDemoConnector.Models
  • Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
  • Property value. Type: Int32
  • C# Syntax
    public int Id { get; set; }

DataList.Name property 

Display name of the list.

  • NamespaceDemoConnector.Models
  • Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
  • Property value. String
  • C# Syntax
    public string Name { get; set; }

DataList.ParentName property 

The name of the parent of this list.

  • NamespaceDemoConnector.Models
  • Assembly. DemoConnector (in DemoConnector.dll) Version: 1.0.0.0
  • Property value. String
  • C# Syntax
    public string ParentName { get; set; }

Last updated: Dec 09, 2015