Class RelationshipInfo
- Namespace
- The.Relationships
- Assembly
- Instagile.dll
public sealed class RelationshipInfo : PropertyInfo, IColumn
- Inheritance
-
RelationshipInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
RelationshipInfo(int, int, string, bool, bool, IEntityInfo, IEntityInfo, Func<SectionInfo>, string, bool, bool, bool, bool, bool, int, string, bool, bool)
public RelationshipInfo(int memoryIndex, int storageIndex, string name, bool isRequired, bool isCollection, IEntityInfo sourceMetadata, IEntityInfo targetMetadata, Func<SectionInfo> sourceSection, string otherSideName, bool shouldShowInSearch, bool shouldShowInList, bool shouldShowOnForm, bool isAdminOnly, bool isLegacy, int displayOrder, string caption, bool isNavigable, bool isLookup)
Parameters
memoryIndexintstorageIndexintnamestringisRequiredboolisCollectionboolsourceMetadataIEntityInfotargetMetadataIEntityInfosourceSectionFunc<SectionInfo>otherSideNamestringshouldShowInSearchboolshouldShowInListboolshouldShowOnFormboolisAdminOnlyboolisLegacybooldisplayOrderintcaptionstringisNavigableboolisLookupbool
Properties
IsCollection
public bool IsCollection { get; }
Property Value
IsLookup
public bool IsLookup { get; }
Property Value
IsNavigable
public bool IsNavigable { get; }
Property Value
OtherSide
public RelationshipInfo OtherSide { get; }
Property Value
Methods
GetText(EntityKernel)
public override string GetText(EntityKernel row)
Parameters
rowEntityKernel
Returns
GetValues(EntityKernel)
public override object?[] GetValues(EntityKernel row)
Parameters
rowEntityKernel
Returns
- object[]
PrepareExportAsync(EntityKernel, CancellationToken)
protected override Task PrepareExportAsync(EntityKernel row, CancellationToken cancellationToken)
Parameters
rowEntityKernelcancellationTokenCancellationToken
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.