Zum Hauptinhalt springen

CkTypeQueryColumn

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DependencyGraph

Represents a query column in a type query.

public class CkTypeQueryColumn

Inheritance Object → CkTypeQueryColumn

Properties​

Path​

Represents a path to a column within a type query.

public string Path { get; }

Property Value​

String

AccessPathList​

Returns the access path to the column as a list of single properties.

public IEnumerable<PathTerm> AccessPathList { get; }

Property Value​

IEnumerable<PathTerm>

ValueType​

Represents the type of the column.

public AttributeValueTypesDto ValueType { get; }

Property Value​

AttributeValueTypesDto

AssociationTuple​

Returns the association direction tuple of the column if the value type is an association.

public CkTypeAssociationTuple AssociationTuple { get; }

Property Value​

CkTypeAssociationTuple

CkEnumId​

Returns the enum id of the column if the value type is an enum.

public CkId<CkEnumId> CkEnumId { get; }

Property Value​

CkId<CkEnumId>

Description​

An optional description of the column.

public string Description { get; }

Property Value​

String

Constructors​

CkTypeQueryColumn(String, IEnumerable<PathTerm>, AttributeValueTypesDto, CkTypeAssociationTuple, String)​

Creates a new instance of CkTypeQueryColumn.

public CkTypeQueryColumn(string path, IEnumerable<PathTerm> accessPathList, AttributeValueTypesDto valueType, CkTypeAssociationTuple associationTuple, string description)

Parameters​

path String
Path to the column within a type query.

accessPathList IEnumerable<PathTerm>
Access paths to the column as a list of single properties.

valueType AttributeValueTypesDto
Type of the column.

associationTuple CkTypeAssociationTuple
When the value type is association, this represents the association direction tuple of the column.

description String
An optional description of the column.

CkTypeQueryColumn(String, IEnumerable<PathTerm>, CkId<CkEnumId>, String)​

Creates a new instance of CkTypeQueryColumn.

public CkTypeQueryColumn(string path, IEnumerable<PathTerm> accessPathList, CkId<CkEnumId> ckEnumId, string description)

Parameters​

path String
Path to the column within a type query.

accessPathList IEnumerable<PathTerm>
Access paths to the column as a list of single properties.

ckEnumId CkId<CkEnumId>
The enum id of the column if the value type is an enum.

description String
An optional description of the column.

CkTypeQueryColumn(String, IEnumerable<PathTerm>, Boolean, String)​

Creates a new instance of CkTypeQueryColumn.

public CkTypeQueryColumn(string path, IEnumerable<PathTerm> accessPathList, bool isArray, string description)

Parameters​

path String
Path to the column within a type query.

accessPathList IEnumerable<PathTerm>
Access paths to the column as a list of single properties.

isArray Boolean
Whether the column is an array.

description String
An optional description of the column.