Class ModuleLicenseLinkBase<TLinkRow>
Wrapper for
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.License
Assembly: SoDataBase.dll
Syntax
public abstract class ModuleLicenseLinkBase<TLinkRow> : NestedPersistFacade, INestedPersist where TLinkRow : TableRowBase
Type Parameters
Name | Description |
---|---|
TLinkRow |
Constructors
ModuleLicenseLinkBase(ModuleLicenseRow)
Default constructor.
Declaration
public ModuleLicenseLinkBase(ModuleLicenseRow license)
Parameters
Type | Name | Description |
---|---|---|
ModuleLicenseRow | license | Module that can be linked (i.e. assigned) to a satellite. |
Properties
Assigned
Assign a module license to a satellite.
Declaration
public abstract bool Assigned { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
CanAssign
Can the license be assigned
Declaration
public bool CanAssign { get; }
Property Value
Type | Description |
---|---|
Boolean |
InUse
How many licenses are in use.
Declaration
public int InUse { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsDeleted
Wrapper for
Declaration
public override bool IsDeleted { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
IsDirty
Wrapper for
Declaration
public override bool IsDirty { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
IsMarkedForDelete
Wrapper for
Declaration
public override bool IsMarkedForDelete { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
License
Get the module license itself
Declaration
public ModuleLicenseRow License { get; }
Property Value
Type | Description |
---|---|
ModuleLicenseRow |
Link
Get the Module license link row
Declaration
public TLinkRow Link { get; }
Property Value
Type | Description |
---|---|
TLinkRow |
PrerequisiteModuleName
ToDo: remove this field when it is in the database row.
Declaration
public string PrerequisiteModuleName { get; }
Property Value
Type | Description |
---|---|
String |
SortOrder
The sort order for the license
Declaration
public int SortOrder { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
GetFacadingItems()
Wrapper for
Declaration
protected override IEnumerable<INestedPersist> GetFacadingItems()
Returns
Type | Description |
---|---|
IEnumerable<INestedPersist> |
Overrides
SetParentId(Int32)
Set the parent id. This can be either an associate or a satellite, depending on the implementation
Declaration
protected abstract void SetParentId(int parentId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | parentId | Primary key of the parent (i.e. associate or satellite) |
ToString()
Wrapper for
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |