Show / Hide Table of Contents

Class ModuleLicenseRecordData

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

Inheritance
object
ModuleLicenseRecordData
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 ModuleLicenseRecordData
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

ModuleLicenseRecordData()

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

Declaration
public ModuleLicenseRecordData()
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Fields

AllowedAssocsMask

Bitmask of allowed associate types who can have this kind of license

Declaration
public uint AllowedAssocsMask
Field Value
Type Description
uint
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

EncryptedCheck

Encrypted checksum that stops tampering and copying between databases

Declaration
public string EncryptedCheck
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraFlags

Unspecified extra flags of license, part of checksum. Value=1 means this a 'user plan'; such licenses cause the admin gui to switch to radiobutton view

Declaration
public uint ExtraFlags
Field Value
Type Description
uint
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ExtraInfo

Free field, can be used by the module owner (example: host domain, for eJournal). NOTE: For rows with extraFlags=1 this field contains the list of modules that this plan comprises

Declaration
public string ExtraInfo
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Hidden

If true, then this module should not appear in GUI and is not assignable by users

Declaration
public short Hidden
Field Value
Type Description
short
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LicenseNumber

Number of systems, databases or associates licensed

Declaration
public uint LicenseNumber
Field Value
Type Description
uint
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

LicenseType

Entire system, per database, or per associate

Declaration
public LicenseType LicenseType
Field Value
Type Description
LicenseType
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModuleDescription

Human-readable description of module, shown in GUI, default language. Additional languages can be added to LocaleText, resource type 25

Declaration
public string ModuleDescription
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModuleLicenseId

Primary key

Declaration
public int ModuleLicenseId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModuleName

The name of the module, not visible in GUI but used in the code. This must be in UPPER CASE and only contain A-Z and 0-9. NO EXTENDED CHARACTERS please.

Declaration
public string ModuleName
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModuleOwnerId

Link to owner of this module

Declaration
public int ModuleOwnerId
Field Value
Type Description
int
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

ModuleVersion

Version string for this module

Declaration
public string ModuleVersion
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

PrerequisiteModule

If set, specifies a module license needed before this license can be granted

Declaration
public string PrerequisiteModule
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo 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 ModuleLicenseRow 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 ModuleLicenseTableInfo 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 ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Signature

Signature that verifies that this row is correctly transferred from SuperLicense

Declaration
public string Signature
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

SortOrder

Ordering value - generated by SuperLicense and transferred here. Must be followed for signatures to be correct

Declaration
public int SortOrder
Field Value
Type Description
int
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Tooltip

Tooltip text, anything you want; shown when the cursor hovers over the line in the GUI. Default language. Additional languages can be added to LocaleText, resource type 27

Declaration
public string Tooltip
Field Value
Type Description
string
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Unrestricted

If true, then there is no licenseNumber limit on how many of these modules may be assigned

Declaration
public short Unrestricted
Field Value
Type Description
short
Remarks

Please use this class instead of a full ModuleLicenseRow 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 ModuleLicenseTableInfo 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 ModuleLicenseRow 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 ModuleLicenseTableInfo 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 ModuleLicenseRow 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 ModuleLicenseTableInfo 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 ModuleLicenseRow 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 ModuleLicenseTableInfo 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)
ModuleLicenseRecordDataExtensions.ToInsertAsync(ModuleLicenseRecordData, 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