Table of Contents

Class ConsentAgreementInfo

Namespace
CMS.DataProtection
Assembly
CMS.DataProtection.dll

Data container class for ConsentAgreementInfo.

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

Constructors

ConsentAgreementInfo()

Creates an empty instance of the ConsentAgreementInfo class.

public ConsentAgreementInfo()

ConsentAgreementInfo(DataRow)

Creates a new instance of the ConsentAgreementInfo class from the given System.Data.DataRow.

public ConsentAgreementInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "cms.consentagreement"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

ConsentAgreementConsentHash

Consent hash

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

Property Value

string

ConsentAgreementConsentID

Consent ID

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

Property Value

int

ConsentAgreementContactID

Contact ID

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

Property Value

int

ConsentAgreementGuid

Consent agreement guid

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

Property Value

Guid

ConsentAgreementID

Consent agreement ID

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

Property Value

int

ConsentAgreementRevoked

Indicates if consent agreement was revoked.

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

Property Value

bool

ConsentAgreementTime

Gets or sets a time of a consent action

[DatabaseField]
public virtual DateTime ConsentAgreementTime { get; set; }

Property Value

DateTime

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()