Class SubqueryTable
Inline query, for emit as sub-select (not WITH clause)
[MessagePackObject(false)]
public sealed class SubqueryTable : Table, IEquatable<Table>
- Inheritance
-
SubqueryTable
- Implements
- Inherited Members
Constructors
SubqueryTable(SelectExpression, int, AliasedEntity?)
public SubqueryTable(SelectExpression expression, int alias, AliasedEntity? targetEntity)
Parameters
expressionSelectExpressionaliasinttargetEntityAliasedEntity
Fields
Alias
[Key(1)]
public readonly int Alias
Field Value
Expression
[Key(0)]
public readonly SelectExpression Expression
Field Value
Methods
AsEntity()
Some tables contain (or reproject) the columns of an entity type.
public override Optional<AliasedEntity> AsEntity()
Returns
Equals(Table?)
Indicates whether the current object is equal to another object of the same type.
public override bool Equals(Table? obj)
Parameters
objTable
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToLines()
public override IEnumerable<string> ToLines()
Returns
ToRefString()
public override string ToRefString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.