Table of Contents

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

memoryIndex int
storageIndex int
name string
isRequired bool
isCollection bool
sourceMetadata IEntityInfo
targetMetadata IEntityInfo
sourceSection Func<SectionInfo>
otherSideName string
shouldShowInSearch bool
shouldShowInList bool
shouldShowOnForm bool
isAdminOnly bool
isLegacy bool
displayOrder int
caption string
isNavigable bool
isLookup bool

Properties

IsCollection

public bool IsCollection { get; }

Property Value

bool

IsLookup

public bool IsLookup { get; }

Property Value

bool

IsNavigable

public bool IsNavigable { get; }

Property Value

bool

OtherSide

public RelationshipInfo OtherSide { get; }

Property Value

RelationshipInfo

Methods

GetText(EntityKernel)

public override string GetText(EntityKernel row)

Parameters

row EntityKernel

Returns

string

GetValues(EntityKernel)

public override object?[] GetValues(EntityKernel row)

Parameters

row EntityKernel

Returns

object[]

PrepareExportAsync(EntityKernel, CancellationToken)

protected override Task PrepareExportAsync(EntityKernel row, CancellationToken cancellationToken)

Parameters

row EntityKernel
cancellationToken CancellationToken

Returns

Task

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.