Table of Contents

Class ProfileInfo

Namespace
CMS.ContactManagement
Assembly
CMS.ContactManagement.dll

Data container class for ProfileInfo.

[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name|InfoCacheBy.Guid)]
public class ProfileInfo : AbstractInfo<ProfileInfo, IInfoProvider<ProfileInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithName, IInfoWithGuid
Inheritance
object
ProfileInfo
Implements
Inherited Members
Extension Methods

Constructors

ProfileInfo()

Creates an empty instance of the ProfileInfo class.

public ProfileInfo()

ProfileInfo(DataRow)

Creates a new instances of the ProfileInfo class from the given System.Data.DataRow.

public ProfileInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "om.profile"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

ProfileDisplayName

Profile display name.

[DatabaseField]
public virtual string ProfileDisplayName { get; set; }

Property Value

string

ProfileGuid

Profile guid.

[DatabaseField]
public virtual Guid ProfileGuid { get; set; }

Property Value

Guid

ProfileID

Profile ID.

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

Property Value

int

ProfileIsVerified

Profile is verified.

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

Property Value

bool

ProfileName

Profile name.

[DatabaseField]
public virtual string ProfileName { get; set; }

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

LoadDefaultData()

Loads the default data to the object.

protected override void LoadDefaultData()

RemoveObjectDependencies(bool, bool)

Removes object dependencies. First tries to execute removedependencies query, if not found, automatic process is executed.

protected override void RemoveObjectDependencies(bool deleteAll = false, bool clearCache = true)

Parameters

deleteAll bool

If false, only required dependencies are deleted, dependencies with default value are replaced with default value and nullable values are replaced with null

clearCache bool

If true, caches of all object types which were potentially modified are cleared (provider hashtables and object type cache dummy keys)

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()