Class PropertyInfo
Runtime metadata for a modelled property (attribute or relationship).
public abstract class PropertyInfo : IColumn
- Inheritance
-
PropertyInfo
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
PropertyInfo(int, int, string, bool, bool, bool, bool, bool, bool, int, string, Func<SectionInfo>, IEntityInfo)
public PropertyInfo(int memoryIndex, int storageIndex, string name, bool isRequired, bool showInSearch, bool showInList, bool showOnForm, bool isAdminOnly, bool isLegacy, int displayOrder, string caption, Func<SectionInfo> section, IEntityInfo parent)
Parameters
memoryIndexintstorageIndexintnamestringisRequiredboolshowInSearchboolshowInListboolshowOnFormboolisAdminOnlyboolisLegacybooldisplayOrderintcaptionstringsectionFunc<SectionInfo>parentIEntityInfo
Properties
Caption
public string Caption { get; }
Property Value
DisplayOrder
public int DisplayOrder { get; }
Property Value
IsAdminOnly
public bool IsAdminOnly { get; }
Property Value
IsLegacy
public bool IsLegacy { get; }
Property Value
IsRequired
public bool IsRequired { get; }
Property Value
MemoryIndex
public int MemoryIndex { get; }
Property Value
Name
public string Name { get; }
Property Value
Parent
public IEntityInfo Parent { get; }
Property Value
Section
public SectionInfo Section { get; }
Property Value
ShowInList
public bool ShowInList { get; }
Property Value
ShowInSearch
public bool ShowInSearch { get; }
Property Value
ShowOnForm
public bool ShowOnForm { get; }
Property Value
StorageIndex
public int StorageIndex { get; }
Property Value
Methods
GetText(EntityKernel)
public abstract string GetText(EntityKernel row)
Parameters
rowEntityKernel
Returns
GetValues(EntityKernel)
public abstract object?[] GetValues(EntityKernel row)
Parameters
rowEntityKernel
Returns
- object[]
PrepareExportAsync(EntityKernel, CancellationToken)
protected abstract Task PrepareExportAsync(EntityKernel row, CancellationToken cancellationToken)
Parameters
rowEntityKernelcancellationTokenCancellationToken