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
actions
[AttCollection(typeof(MainFormActionVO), new string[] { "[MainFormAction].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormActionVO> actions { get; set; }
Property Value
description
Description given by developer
[AttList]
public string description { get; set; }
Property Value
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
entityExtensionstamp
ID, used to link others to this entity.
[AttLenght(25)]
public string entityExtensionstamp { get; set; }
Property Value
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
mainObjects
[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormObjectVO> mainObjects { get; set; }
Property Value
masterEntity
Entity ID
[AttLenght(40)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string masterEntity { get; set; }
Property Value
name
Name given by developer
[AttLenght(60)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string name { get; set; }
Property Value
nativeObjects
[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormObjectVO> nativeObjects { get; set; }
Property Value
panels
[AttCollection(typeof(MainFormPanelVO), new string[] { "[MainFormPanel].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormPanelVO> panels { get; set; }
Property Value
signatures
[AttCollection(typeof(MainFormSignatureVO), new string[] { "[MainFormSignature].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<MainFormSignatureVO> signatures { get; set; }
Property Value
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
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
translations
[AttCollection(typeof(UserLocaleVO), new string[] { "[UserLocale].[parentStamp]", "[EntityExtension].[entityExtensionstamp]" })]
public List<UserLocaleVO> translations { get; set; }
Property Value
updateConfigCode
Code Typescript to run on mainform updateConfig fn
public string updateConfigCode { get; set; }
Property Value
updateConfigCodeEncrypted
[AttVirtualField]
public string updateConfigCodeEncrypted { get; set; }
Property Value
Methods
AsEntityCustomizations()
Get the proper representation of this in EntityCustomization Purpose: Addon Installation
public List<EntityCustomizationVO> AsEntityCustomizations()
Returns
GetAllMainFormAutocompletes()
Utility function to install DataProviders on addon DLL
public List<MainFormFieldVO> GetAllMainFormAutocompletes()
Returns
GetAllMainFormFields()
List of flaten fields: MainFormFieldVO Just for sql structure validations
public List<MainFormFieldVO> GetAllMainFormFields()
Returns
GetAllMainFormTablesAndGrids()
Utility function to install DataProviders on addon DLL Tabels and GRIDs with search popup
public List<MainFormObjectVO> GetAllMainFormTablesAndGrids()
Returns
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
Explicit Interface Implementations
AsStudioTool()
StudioToolVO AsStudioTool()
Returns
CanDeleteTool()
bool CanDeleteTool()
Returns
ToolMainFields()
List<string> ToolMainFields()