Show / Hide Table of Contents

Class ConsentPurposeRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ConsentPurpose table.

Inheritance
object
ConsentPurposeRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class ConsentPurposeRecordData
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

ConsentPurposeRecordData()

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ConsentPurpose table.

Declaration
public ConsentPurposeRecordData()
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

Active

True if this consent purpose is active

Declaration
public short Active
Field Value
Type Description
short
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ConsentPurposeId

Primary key

Declaration
public int ConsentPurposeId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ConsentText

Form text used for the actual checkbox

Declaration
public string ConsentText
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

Declaration
public short Deleted
Field Value
Type Description
short
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

FormText

Text for the consent form, the long text to be shown when asking the end-user for this kind of consent

Declaration
public string FormText
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Key

The key used to refer to this purpose, like #Process, #Emarketing etc.

Declaration
public string Key
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Name

The name of this purpose

Declaration
public string Name
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PrivacyStatementDesc

A heading or description of the privacy text

Declaration
public string PrivacyStatementDesc
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PrivacyStatementUrl

Url referencing the actual privacy statement text; may have different urls for different languages

Declaration
public string PrivacyStatementUrl
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Rank

Rank order

Declaration
public short Rank
Field Value
Type Description
short
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Tooltip

List item tooltip

Declaration
public string Tooltip
Field Value
Type Description
string
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
short
Remarks

Please use this class instead of a full ConsentPurposeRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding ConsentPurposeTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ConsentPurposeRecordDataExtensions.ToInsertAsync(ConsentPurposeRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top