Table of Contents

Class ContactGroupMemberInfo

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

ContactGroupMembersInfo data container class.

public class ContactGroupMemberInfo : AbstractInfo<ContactGroupMemberInfo, IContactGroupMemberInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId
Inheritance
object
ContactGroupMemberInfo
Implements
Inherited Members
Extension Methods

Constructors

ContactGroupMemberInfo()

Constructor - Creates an empty ContactGroupMemberInfo object.

public ContactGroupMemberInfo()

ContactGroupMemberInfo(DataRow)

Constructor - Creates a new ContactGroupMemberInfo object from the given DataRow.

public ContactGroupMemberInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data

Fields

OBJECT_TYPE_ACCOUNT

Object type for account

public const string OBJECT_TYPE_ACCOUNT = "om.contactgroupmemberaccount"

Field Value

string

OBJECT_TYPE_CONTACT

Object type for contact

public const string OBJECT_TYPE_CONTACT = "om.contactgroupmembercontact"

Field Value

string

TYPEINFOACCOUNT

Type information for group members of type account.

public static ObjectTypeInfo TYPEINFOACCOUNT

Field Value

ObjectTypeInfo

TYPEINFOCONTACT

Type information for group members of type contact.

public static ObjectTypeInfo TYPEINFOCONTACT

Field Value

ObjectTypeInfo

Properties

ContactGroupMemberContactGroupID

Gets or sets the ID of the contact group.

[DatabaseField]
public virtual int ContactGroupMemberContactGroupID { get; set; }

Property Value

int

ContactGroupMemberFromAccount

Gets or sets value indicating if current contact group member is added as an account member.

[DatabaseField]
public virtual bool ContactGroupMemberFromAccount { get; set; }

Property Value

bool

ContactGroupMemberFromCondition

Gets or sets value indicating if current contact group member is added from dynamic condition.

[DatabaseField]
public virtual bool ContactGroupMemberFromCondition { get; set; }

Property Value

bool

ContactGroupMemberFromManual

Gets or sets value indicating if current contact group member is manually added.

[DatabaseField]
public virtual bool ContactGroupMemberFromManual { get; set; }

Property Value

bool

ContactGroupMemberID

Gets or sets the ID.

[DatabaseField]
public virtual int ContactGroupMemberID { get; set; }

Property Value

int

ContactGroupMemberRelatedID

Gets or sets the ID of the related object - contact or account.

[DatabaseField]
public virtual int ContactGroupMemberRelatedID { get; set; }

Property Value

int

ContactGroupMemberType

Gets or sets the type of the related object.

[DatabaseField(ValueType = typeof(int))]
public virtual ContactGroupMemberTypeEnum ContactGroupMemberType { get; set; }

Property Value

ContactGroupMemberTypeEnum

TypeInfo

Type information.

public override ObjectTypeInfo TypeInfo { get; }

Property Value

ObjectTypeInfo

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

InsertAsCloneInternal(CloneSettings, CloneResult, BaseInfo)

Inserts cloned object to DB.

protected override void InsertAsCloneInternal(CloneSettings settings, CloneResult result, BaseInfo originalObject)

Parameters

settings CloneSettings

Cloning settings

result CloneResult

Cloning result

originalObject BaseInfo

Original source BaseInfo (object being cloned)

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()