Class ModuleLicenseRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ModuleLicense table.
Inherited Members
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()
Declaration
public ModuleLicenseRecordData()
Fields
AllowedAssocsMask
Bitmask of allowed associate types who can have this kind of license
Declaration
public uint AllowedAssocsMask
Field Value
Type | Description |
---|---|
UInt32 |
EncryptedCheck
Encrypted checksum that stops tampering and copying between databases
Declaration
public string EncryptedCheck
Field Value
Type | Description |
---|---|
String |
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 |
---|---|
UInt32 |
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 |
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 |
---|---|
Int16 |
LicenseNumber
Number of systems, databases or associates licensed
Declaration
public uint LicenseNumber
Field Value
Type | Description |
---|---|
UInt32 |
LicenseType
Entire system, per database, or per associate
Declaration
public LicenseType LicenseType
Field Value
Type | Description |
---|---|
SuperOffice.License.LicenseType |
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 |
ModuleLicenseId
Primary key
Declaration
public int ModuleLicenseId
Field Value
Type | Description |
---|---|
Int32 |
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 |
ModuleOwnerId
Link to owner of this module
Declaration
public int ModuleOwnerId
Field Value
Type | Description |
---|---|
Int32 |
ModuleVersion
Version string for this module
Declaration
public string ModuleVersion
Field Value
Type | Description |
---|---|
String |
PrerequisiteModule
If set, specifies a module license needed before this license can be granted
Declaration
public string PrerequisiteModule
Field Value
Type | Description |
---|---|
String |
Registered
Registered when in UTC.
Declaration
public DateTime Registered
Field Value
Type | Description |
---|---|
DateTime |
RegisteredAssociateId
Registered by whom
Declaration
public int RegisteredAssociateId
Field Value
Type | Description |
---|---|
Int32 |
Signature
Signature that verifies that this row is correctly transferred from SuperLicense
Declaration
public string Signature
Field Value
Type | Description |
---|---|
String |
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 |
---|---|
Int32 |
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 |
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 |
---|---|
Int16 |
Updated
Last updated when in UTC.
Declaration
public DateTime Updated
Field Value
Type | Description |
---|---|
DateTime |
UpdatedAssociateId
Last updated by whom
Declaration
public int UpdatedAssociateId
Field Value
Type | Description |
---|---|
Int32 |
UpdatedCount
Number of updates made to this record
Declaration
public short UpdatedCount
Field Value
Type | Description |
---|---|
Int16 |