Class ModuleLicenseOwnerBase<TLink, TLinkRow>
Inheritance
ModuleLicenseOwnerBase<TLink, TLinkRow>
Assembly: SoDataBase.dll
Syntax
public abstract class ModuleLicenseOwnerBase<TLink, TLinkRow> : NestedPersistFacade, INestedPersist where TLink : ModuleLicenseLinkBase<TLinkRow> where TLinkRow : TableRowBase
Type Parameters
| Name |
Description |
| TLink |
|
| TLinkRow |
|
Constructors
ModuleLicenseOwnerBase(ModuleOwnerRow, int)
Declaration
public ModuleLicenseOwnerBase(ModuleOwnerRow owner, int parentId)
Parameters
Properties
IsDeleted
Declaration
public override bool IsDeleted { get; }
Property Value
Overrides
IsDirty
Return true if any of the encapsulated LicenseSatLinkRows are dirty.
Declaration
public override bool IsDirty { get; }
Property Value
Overrides
this[int]
Find a module from it's module id
Declaration
public TLink this[int moduleId] { get; }
Parameters
| Type |
Name |
Description |
| int |
moduleId |
|
Property Value
| Type |
Description |
| TLink |
License for a module
|
this[string]
Find a module from its name.
Declaration
public TLink this[string moduleName] { get; }
Parameters
| Type |
Name |
Description |
| string |
moduleName |
Name of the module
|
Property Value
| Type |
Description |
| TLink |
License for a module
|
Modules
Declaration
public IEnumerable<TLink> Modules { get; }
Property Value
Owner
Declaration
public ModuleOwnerRow Owner { get; }
Property Value
Methods
GetFacadingItems()
Declaration
protected override IEnumerable<INestedPersist> GetFacadingItems()
Returns
Overrides
OnPreIdUpdateAsync()
Allow for "fake id's" to be forced upon related objects.
Declaration
protected override Task OnPreIdUpdateAsync()
Returns
Overrides
OnSavedAsync(bool)
Called after the save operation has completed. A boolean value is passed to
notify whether or not the save operation succeeded. The complete save operation
is rolled back if Save operation failed.
Declaration
protected override Task OnSavedAsync(bool bSucceeded)
Parameters
| Type |
Name |
Description |
| bool |
bSucceeded |
True if the save operation succeeded and false if the save operation failed and rolled back.
|
Returns
Overrides
Implements
Extension Methods