Table of Contents

Class EntityExtensionVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Represents an extension of mainform Contains a group of: Panels Objects Actions

[AttTable("EntityExtension", 20211019)]
[AttTableVOInfo(typeof(EntityExtensionAttInfo))]
[AttTableTarget(DBTarget.Home)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.FullTextSearchable, TableFlags.AddOnNotCustomizable, TableFlags.AddOnFramework, TableFlags.StudioOnly })]
public class EntityExtensionVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
EntityExtensionVO

Properties

actionDisabledFns

[AttCollection(typeof(MainFormActionDisabledFnVO), new string[] { "[MainFormActionDisabledFn].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormActionDisabledFnVO> actionDisabledFns { get; set; }

Property Value

List<MainFormActionDisabledFnVO>

actions

[AttCollection(typeof(MainFormActionVO), new string[] { "[MainFormAction].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormActionVO> actions { get; set; }

Property Value

List<MainFormActionVO>

description

Description given by developer

[AttList]
public string description { get; set; }

Property Value

string

entity

calculated from "name" it will be EntityCustomization table name

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string entity { get; set; }

Property Value

string

entityExtensionstamp

ID, used to link others to this entity.

[AttLenght(25)]
public string entityExtensionstamp { get; set; }

Property Value

string

Remarks

This field uniquely identifies the record.

hiddenObjects

[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormObjectVO> hiddenObjects { get; set; }

Property Value

List<MainFormObjectVO>

mainObjects

[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormObjectVO> mainObjects { get; set; }

Property Value

List<MainFormObjectVO>

masterEntity

Entity ID

[AttLenght(40)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string masterEntity { get; set; }

Property Value

string

name

Name given by developer

[AttLenght(60)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string name { get; set; }

Property Value

string

nativeObjects

[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormObjectVO> nativeObjects { get; set; }

Property Value

List<MainFormObjectVO>

panels

[AttCollection(typeof(MainFormPanelVO), new string[] { "[MainFormPanel].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormPanelVO> panels { get; set; }

Property Value

List<MainFormPanelVO>

signatures

[AttCollection(typeof(MainFormSignatureVO), new string[] { "[MainFormSignature].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormSignatureVO> signatures { get; set; }

Property Value

List<MainFormSignatureVO>

toolDescription

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolDescription { get; set; }

Property Value

string

toolName

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolName { get; set; }

Property Value

string

translations

[AttCollection(typeof(UserLocaleVO), new string[] { "[UserLocale].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<UserLocaleVO> translations { get; set; }

Property Value

List<UserLocaleVO>

updateConfigCode

Code Typescript to run on mainform updateConfig fn

public string updateConfigCode { get; set; }

Property Value

string

updateConfigCodeEncrypted

[AttVirtualField]
public string updateConfigCodeEncrypted { get; set; }

Property Value

string

Methods

AsEntityCustomizations()

Get the proper representation of this in EntityCustomization Purpose: Addon Installation

public List<EntityCustomizationVO> AsEntityCustomizations()

Returns

List<EntityCustomizationVO>

GetAllMainFormAutocompletes()

Utility function to install DataProviders on addon DLL

public List<MainFormFieldVO> GetAllMainFormAutocompletes()

Returns

List<MainFormFieldVO>

GetAllMainFormFields()

List of flaten fields: MainFormFieldVO Just for sql structure validations

public List<MainFormFieldVO> GetAllMainFormFields()

Returns

List<MainFormFieldVO>

GetAllMainFormTablesAndGrids()

Utility function to install DataProviders on addon DLL Tabels and GRIDs with search popup

public List<MainFormObjectVO> GetAllMainFormTablesAndGrids()

Returns

List<MainFormObjectVO>

GetMainFormObjectsByType(MainFormObjectType)

Get MainformObjects by type FIELD, GRID or GRID_EXTENSION object types

public List<MainFormObjectVO> GetMainFormObjectsByType(MainFormObjectType type)

Parameters

Nome Tipo Descrição
type MainFormObjectType

Returns

List<MainFormObjectVO>

Explicit Interface Implementations

AsStudioTool()

StudioToolVO AsStudioTool()

Returns

StudioToolVO

CanDeleteTool()

bool CanDeleteTool()

Returns

bool

ToolMainFields()

List<string> ToolMainFields()

Returns

List<string>