Table of Contents

Class Projection

Namespace
The.SQL.QIR.Projections
Assembly
Instagile.dll
[MessagePackObject(false)]
[Union(0, typeof(ColumnsProjection))]
[Union(1, typeof(EntityProjection))]
[Union(2, typeof(SequenceProjection))]
public abstract record Projection : IEquatable<Projection>
Inheritance
Projection
Implements
Derived
Inherited Members

Constructors

Projection(bool, bool)

protected Projection(bool IsSingleRow, bool IsDefaultAllowed)

Parameters

IsSingleRow bool
IsDefaultAllowed bool

Properties

IsDefaultAllowed

[Key(1)]
public bool IsDefaultAllowed { get; init; }

Property Value

bool

IsSingleRow

[Key(0)]
public bool IsSingleRow { get; init; }

Property Value

bool

Methods

GetSelectList(IReadOnlyDictionary<string, EntityTable>, Tenancy)

public abstract IEnumerable<Value> GetSelectList(IReadOnlyDictionary<string, EntityTable> tables, Tenancy tenancy)

Parameters

tables IReadOnlyDictionary<string, EntityTable>
tenancy Tenancy

Returns

IEnumerable<Value>

ToLines()

public virtual IEnumerable<string> ToLines()

Returns

IEnumerable<string>