Class ExtendableScriptObject
Base type for all objects with custom properties
Namespace: Wavefire.Nexus.ScriptObjects
Assembly: Wavefire.Nexus.dll
Syntax
public class ExtendableScriptObject
Constructors
ExtendableScriptObject()
Initializes a new instance of the System.Object class.
Declaration
public ExtendableScriptObject()
ExtendableScriptObject(ITableWithExtendedProperties, String, NexusDb)
Declaration
public ExtendableScriptObject([NotNull] ITableWithExtendedProperties src, [NotNull] string extensionName, [NotNull] NexusDb db)
Parameters
Type | Name | Description |
---|---|---|
Wavefire.Nexus.Ef.ITableWithExtendedProperties | src | |
System.String | extensionName | |
Wavefire.Nexus.Ef.NexusDb | db |
ExtendableScriptObject(ITableWithExtendedProperties, EntityExtension, NexusDb)
Initializes a new instance of the System.Object class.
Declaration
public ExtendableScriptObject([NotNull] ITableWithExtendedProperties src, [NotNull] EntityExtension extension, [NotNull] NexusDb db)
Parameters
Type | Name | Description |
---|---|---|
Wavefire.Nexus.Ef.ITableWithExtendedProperties | src | |
Wavefire.Nexus.Interfaces.ExtendedData.EntityExtension | extension | |
Wavefire.Nexus.Ef.NexusDb | db |
Properties
Custom
The custom properties for this entity. The custom properties which are available depend on the Wavefire configuration.
Declaration
public JObject Custom { get; set; }
Property Value
Type | Description |
---|---|
Newtonsoft.Json.Linq.JObject |
Examples
$Acct = $Foo.Custom.AccountNumber
$CustNo = $Foo.Custom.CustomerNumber