Class ContactRoleInfo
- Namespace
 - CMS.ContactManagement
 
- Assembly
 - CMS.ContactManagement.dll
 
ContactRoleInfo data container class.
[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name, Priority = InfoCachePriority.NotRemovable)]
[Obsolete("The class is deprecated and will be removed in the next version.")]
public class ContactRoleInfo : AbstractInfo<ContactRoleInfo, IContactRoleInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithName
  - Inheritance
 - 
      objectContactRoleInfo
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
ContactRoleInfo()
Constructor - Creates an empty ContactRoleInfo object.
public ContactRoleInfo()
  ContactRoleInfo(DataRow)
Constructor - Creates a new ContactRoleInfo object from the given DataRow.
public ContactRoleInfo(DataRow dr)
  Parameters
drDataRowDataRow with the object data
Fields
OBJECT_TYPE
Object type
public const string OBJECT_TYPE = "om.contactrole"
  Field Value
- string
 
TYPEINFO
Type information.
public static ObjectTypeInfo TYPEINFO
  Field Value
Properties
ContactRoleDescription
Gets or sets the contact role description.
public virtual string ContactRoleDescription { get; set; }
  Property Value
- string
 
ContactRoleDisplayName
Gets or sets the contact role display name.
public virtual string ContactRoleDisplayName { get; set; }
  Property Value
- string
 
ContactRoleID
Gets or sets the contact role ID.
public virtual int ContactRoleID { get; set; }
  Property Value
- int
 
ContactRoleName
Gets or sets the contact role name.
public virtual string ContactRoleName { get; set; }
  Property Value
- string
 
Methods
DeleteObject()
Deletes the object using appropriate provider.
protected override void DeleteObject()
  SetObject()
Updates the object using appropriate provider.
protected override void SetObject()