Show / Hide Table of Contents

Class ModuleLicenseLinkBase<TLinkRow>

Wrapper for supporting to assign and un-assign module licenses to satellites

Inheritance
Object
NestedPersist
NestedPersistFacade
ModuleLicenseLinkBase<TLinkRow>
AssociateModuleLicenseLink
SatelliteModuleLicenseLink
Implements
INestedPersist
Inherited Members
NestedPersistFacade.OnPreIdUpdate()
NestedPersistFacade.OnPrimaryKeyRequest(PKContainer)
NestedPersistFacade.OnPrimaryKeyUpdate(PKContainer)
NestedPersistFacade.OnIdUpdate()
NestedPersistFacade.OnSave(BatchSave)
NestedPersistFacade.OnSaved(Boolean)
NestedPersist._saveOwner
NestedPersist._isSaving
NestedPersist.SetSaveOwner(INestedPersist)
NestedPersist.Save()
NestedPersist.INestedPersist.OnPreIdUpdate()
NestedPersist.INestedPersist.OnPrimaryKeyRequest(PKContainer)
NestedPersist.INestedPersist.OnPrimaryKeyUpdate(PKContainer)
NestedPersist.INestedPersist.OnIdUpdate()
NestedPersist.INestedPersist.OnSave(BatchSave)
NestedPersist.INestedPersist.OnSaved(Boolean)
NestedPersist.add_OnElementSaved(OnSaved)
NestedPersist.remove_OnElementSaved(OnSaved)
NestedPersist.add_OnElementIdUpdate(OnIdUpdate)
NestedPersist.remove_OnElementIdUpdate(OnIdUpdate)
NestedPersist.IsSaving
NestedPersist.OnElementSaved
NestedPersist.OnElementIdUpdate
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 supporting to assign and un-assign module licenses to satellites

Declaration
public override bool IsDeleted { get; }
Property Value
Type Description
Boolean
Overrides
NestedPersist.IsDeleted

IsDirty

Wrapper for supporting to assign and un-assign module licenses to satellites

Declaration
public override bool IsDirty { get; }
Property Value
Type Description
Boolean
Overrides
NestedPersistFacade.IsDirty

IsMarkedForDelete

Wrapper for supporting to assign and un-assign module licenses to satellites

Declaration
public override bool IsMarkedForDelete { get; set; }
Property Value
Type Description
Boolean
Overrides
NestedPersist.IsMarkedForDelete

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 supporting to assign and un-assign module licenses to satellites

Declaration
protected override IEnumerable<INestedPersist> GetFacadingItems()
Returns
Type Description
IEnumerable<INestedPersist>
Overrides
NestedPersistFacade.GetFacadingItems()

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 supporting to assign and un-assign module licenses to satellites

Declaration
public override string ToString()
Returns
Type Description
String

Implements

INestedPersist

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