Class CommonTable
Aliased query, for emit as common table expression (WITH clause)
[MessagePackObject(false)]
public sealed class CommonTable : Table, IEquatable<Table>
- Inheritance
-
CommonTable
- Implements
- Inherited Members
Constructors
CommonTable(SelectExpression, int, AliasedEntity?)
public CommonTable(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.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.