Class ModuleLicenceProvider
Simple provider for module licences. This provider will return a flat list with one entity for system-level licences, one for site (database)-level licences, and one for user (associate)-level licences. It does not check codekey or other security items.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ModuleLicense", 1073741823)]
public class ModuleLicenceProvider : TypedQueryProviderBase<ArchiveRow, ModuleLicenceModuleLicenseExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
ModuleLicenceProvider()
Initialize extender and set up entities
Declaration
public ModuleLicenceProvider()
Fields
ProviderName
Simple provider for module licences. This provider will return a flat list with one entity for system-level licences, one for site (database)-level licences, and one for user (associate)-level licences. It does not check codekey or other security items.
Declaration
public const string ProviderName = "ModuleLicense"
Field Value
Type | Description |
---|---|
String |
SiteLicenseEntity
Simple provider for module licences. This provider will return a flat list with one entity for system-level licences, one for site (database)-level licences, and one for user (associate)-level licences. It does not check codekey or other security items.
Declaration
public const string SiteLicenseEntity = "siteLicense"
Field Value
Type | Description |
---|---|
String |
SystemLicenseEntity
Simple provider for module licences. This provider will return a flat list with one entity for system-level licences, one for site (database)-level licences, and one for user (associate)-level licences. It does not check codekey or other security items.
Declaration
public const string SystemLicenseEntity = "systemLicense"
Field Value
Type | Description |
---|---|
String |
UserLicenseEntity
Simple provider for module licences. This provider will return a flat list with one entity for system-level licences, one for site (database)-level licences, and one for user (associate)-level licences. It does not check codekey or other security items.
Declaration
public const string UserLicenseEntity = "userLicense"
Field Value
Type | Description |
---|---|
String |
Methods
GetEntityName(SoDataReader)
Derive entity name from the licence type
Declaration
protected override string GetEntityName(SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader |
Returns
Type | Description |
---|---|
String |
Overrides
InnerMapFields()
Add the licence type to the query so we can set the correct entity
Declaration
public override void InnerMapFields()