Class SqlKeepClause
public class SqlKeepClause : QueryElement, IQueryElement
- Inheritance
-
objectSqlKeepClause
- Implements
- Inherited Members
- Extension Methods
Constructors
SqlKeepClause(KeepType, List<SqlWindowOrderItem>)
public SqlKeepClause(SqlKeepClause.KeepType type, List<SqlWindowOrderItem> orderBy)
Parameters
typeSqlKeepClause.KeepTypeorderByList<SqlWindowOrderItem>
Properties
ElementType
AST node type.
public override QueryElementType ElementType { get; }
Property Value
OrderBy
public List<SqlWindowOrderItem> OrderBy { get; }
Property Value
Type
public SqlKeepClause.KeepType Type { get; }
Property Value
Methods
Accept(QueryElementVisitor)
Visitor support.
public override IQueryElement Accept(QueryElementVisitor visitor)
Parameters
visitorQueryElementVisitor
Returns
Equals(SqlKeepClause)
protected bool Equals(SqlKeepClause other)
Parameters
otherSqlKeepClause
Returns
Equals(SqlKeepClause, Func<ISqlExpression, ISqlExpression, bool>)
public bool Equals(SqlKeepClause other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
otherSqlKeepClausecomparerFunc<ISqlExpression, ISqlExpression, bool>
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetElementHashCode()
public override int GetElementHashCode()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Modify(List<SqlWindowOrderItem>)
public void Modify(List<SqlWindowOrderItem> orderBy)
Parameters
orderByList<SqlWindowOrderItem>
ToString(QueryElementTextWriter)
Generates debug text representation of AST node.
public override QueryElementTextWriter ToString(QueryElementTextWriter writer)
Parameters
writerQueryElementTextWriter