Show / Hide Table of Contents

Class ModuleLicenseTableInfo

Table 'ModuleLicense': Module licenses, belonging to one single owner

Inheritance
Object
TableInfo
ModuleLicenseTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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
String

Properties

AllowedAssocsMask

Field 'allowedAssocsMask' in table 'ModuleLicense': Dictionary type UInt, .NET type: 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
TableInfo.Definition

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
Int32

EncryptedCheck

Field 'encryptedCheck' in table 'ModuleLicense': Dictionary type String[255], .NET type: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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:

FieldDescription
ModuleNameThe 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
String moduleName
Returns
Type Description
Restriction

IdxModuleNameModuleVersion(String, String)

Shortcut method for looking up using the database index ModuleNameModuleVersion, which spans the following fields:

FieldDescription
ModuleNameThe 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.
ModuleVersionVersion string for this module
Declaration
public Restriction IdxModuleNameModuleVersion(string moduleName, string moduleVersion)
Parameters
Type Name Description
String moduleName
String moduleVersion
Returns
Type Description
Restriction

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top