Class ModuleLicenseTableInfo
Table 'ModuleLicense': Module licenses, belonging to one single owner
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("ModuleLicense")]
public class ModuleLicenseTableInfo : TableInfo, ICloneable
Remarks
An instance of this class represents one instance of this table in an SQL statement. In most
cases each table appears only once in a SELECT, but in cases where you need to self-join, or
there are multiple occurrences for other reasons (typically additional restrictions in the joins),
then you will need multiple instances.
Instances of this class are created by calling
Fields
DictionaryTableName
Conceptual name of table ModuleLicense in the database dictionary: ModuleLicense
Declaration
public const string DictionaryTableName = "ModuleLicense"
Field Value
Type | Description |
---|---|
System.String |
Properties
AllowedAssocsMask
Field 'allowedAssocsMask' in table 'ModuleLicense': Dictionary type UInt, .NET type: System.UInt32
Bitmask of allowed associate types who can have this kind of license
Declaration
public FieldInfo AllowedAssocsMask { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
Definition
Definition of the table as described in the deployed runtime dictionary
Declaration
public override SoTable Definition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Overrides
DictionaryTableNumber
Table number for table ModuleLicense in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database
Declaration
public int DictionaryTableNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
EncryptedCheck
Field 'encryptedCheck' in table 'ModuleLicense': Dictionary type String[255], .NET type: System.String
Encrypted checksum that stops tampering and copying between databases
Declaration
public StringFieldInfo EncryptedCheck { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
ExtraFlags
Field 'extraFlags' in table 'ModuleLicense': Dictionary type UInt, .NET type: System.UInt32
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 FieldInfo ExtraFlags { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
ExtraInfo
Field 'extraInfo' in table 'ModuleLicense': Dictionary type String[4000], .NET type: System.String
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 StringFieldInfo ExtraInfo { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Hidden
Field 'hidden' in table 'ModuleLicense': Dictionary type Bool, .NET type: System.Int16
If true, then this module should not appear in GUI and is not assignable by users
Declaration
public UInt16FieldInfo Hidden { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
LeftOuterJoin_LicenseAssocLink_ModuleLicenseId
Generated left outer join from the primary key ModuleLicenseId on this table, to LicenseAssocLink.ModuleLicenseId.
Declaration
public TargetedLeftOuterJoin<LicenseAssocLinkTableInfo> LeftOuterJoin_LicenseAssocLink_ModuleLicenseId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<LicenseAssocLinkTableInfo> |
LeftOuterJoin_LicenseSatlLink_ModuleLicenseId
Generated left outer join from the primary key ModuleLicenseId on this table, to LicenseSatlLink.ModuleLicenseId.
Declaration
public TargetedLeftOuterJoin<LicenseSatlLinkTableInfo> LeftOuterJoin_LicenseSatlLink_ModuleLicenseId { get; }
Property Value
Type | Description |
---|---|
TargetedLeftOuterJoin<LicenseSatlLinkTableInfo> |
LicenseNumber
Field 'licenseNumber' in table 'ModuleLicense': Dictionary type UInt, .NET type: System.UInt32
Number of systems, databases or associates licensed
Declaration
public FieldInfo LicenseNumber { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
LicenseType
Field 'licenseType' in table 'ModuleLicense': Dictionary type Enum, .NET type: LicenseType
Entire system, per database, or per associate
Declaration
public LicenseTypeFieldInfo LicenseType { get; }
Property Value
Type | Description |
---|---|
LicenseTypeFieldInfo |
ModuleDescription
Field 'moduleDescription' in table 'ModuleLicense': Dictionary type String[255], .NET type: System.String
Human-readable description of module, shown in GUI, default language. Additional languages can be added to LocaleText, resource type 25
Declaration
public StringFieldInfo ModuleDescription { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
ModuleLicenseId
Field 'ModuleLicense_id' in table 'ModuleLicense': Dictionary type PK, .NET type: System.Int32
Primary key
Declaration
public Int32FieldInfo ModuleLicenseId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ModuleName
Field 'moduleName' in table 'ModuleLicense': Dictionary type String[240], .NET type: System.String
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 StringFieldInfo ModuleName { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
ModuleOwnerId
Field 'ModuleOwner_id' in table 'ModuleLicense': Dictionary type FK, .NET type: System.Int32
Link to owner of this module
Declaration
public Int32FieldInfo ModuleOwnerId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
ModuleOwnerId_InnerJoin_ModuleOwner
Generated join from the foreign key ModuleOwnerId in this table, to its target table ModuleOwnerTableInfo.
Declaration
public TargetedInnerJoin<ModuleOwnerTableInfo> ModuleOwnerId_InnerJoin_ModuleOwner { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<ModuleOwnerTableInfo> |
ModuleVersion
Field 'moduleVersion' in table 'ModuleLicense': Dictionary type String[255], .NET type: System.String
Version string for this module
Declaration
public StringFieldInfo ModuleVersion { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
PrerequisiteModule
Field 'prerequisiteModule' in table 'ModuleLicense': Dictionary type String[240], .NET type: System.String
If set, specifies a module license needed before this license can be granted
Declaration
public StringFieldInfo PrerequisiteModule { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Registered
Field 'registered' in table 'ModuleLicense': Dictionary type UtcDateTime, .NET type: System.DateTime
Registered when
Declaration
public DateTimeFieldInfo Registered { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
RegisteredAssociateId
Field 'registered_associate_id' in table 'ModuleLicense': Dictionary type FK, .NET type: System.Int32
Registered by whom
Declaration
public Int32FieldInfo RegisteredAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
RegisteredAssociateId_InnerJoin_Associate
Generated join from the foreign key RegisteredAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> RegisteredAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
RuntimeDefinition
Definition of the table as described in the deployed runtime dictionary
Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type | Description |
---|---|
SoTable |
Signature
Field 'signature' in table 'ModuleLicense': Dictionary type String[255], .NET type: System.String
Signature that verifies that this row is correctly transferred from SuperLicense
Declaration
public StringFieldInfo Signature { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
SortOrder
Field 'sortOrder' in table 'ModuleLicense': Dictionary type Id, .NET type: System.Int32
Ordering value - generated by SuperLicense and transferred here. Must be followed for signatures to be correct
Declaration
public Int32FieldInfo SortOrder { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
Tooltip
Field 'tooltip' in table 'ModuleLicense': Dictionary type String[255], .NET type: System.String
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 StringFieldInfo Tooltip { get; }
Property Value
Type | Description |
---|---|
StringFieldInfo |
Unrestricted
Field 'unrestricted' in table 'ModuleLicense': Dictionary type Bool, .NET type: System.Int16
If true, then there is no licenseNumber limit on how many of these modules may be assigned
Declaration
public UInt16FieldInfo Unrestricted { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Updated
Field 'updated' in table 'ModuleLicense': Dictionary type UtcDateTime, .NET type: System.DateTime
Last updated when
Declaration
public DateTimeFieldInfo Updated { get; }
Property Value
Type | Description |
---|---|
DateTimeFieldInfo |
UpdatedAssociateId
Field 'updated_associate_id' in table 'ModuleLicense': Dictionary type FK, .NET type: System.Int32
Last updated by whom
Declaration
public Int32FieldInfo UpdatedAssociateId { get; }
Property Value
Type | Description |
---|---|
Int32FieldInfo |
UpdatedAssociateId_InnerJoin_Associate
Generated join from the foreign key UpdatedAssociateId in this table, to its target table AssociateTableInfo.
Declaration
public TargetedInnerJoin<AssociateTableInfo> UpdatedAssociateId_InnerJoin_Associate { get; }
Property Value
Type | Description |
---|---|
TargetedInnerJoin<AssociateTableInfo> |
UpdatedCount
Field 'updatedCount' in table 'ModuleLicense': Dictionary type UShort, .NET type: System.Int16
Number of updates made to this record
Declaration
public UInt16FieldInfo UpdatedCount { get; }
Property Value
Type | Description |
---|---|
UInt16FieldInfo |
Methods
IdxModuleName(String)
Shortcut method for looking up using the database index ModuleName, which spans the following fields:
Field | Description |
---|---|
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 Restriction IdxModuleName(string moduleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | moduleName |
Returns
Type | Description |
---|---|
Restriction |
IdxModuleNameModuleVersion(String, String)
Shortcut method for looking up using the database index ModuleNameModuleVersion, which spans the following fields:
Field | Description |
---|---|
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. |
ModuleVersion | Version string for this module |
Declaration
public Restriction IdxModuleNameModuleVersion(string moduleName, string moduleVersion)
Parameters
Type | Name | Description |
---|---|---|
System.String | moduleName | |
System.String | moduleVersion |
Returns
Type | Description |
---|---|
Restriction |