Table of Contents

Class SqlKeepClause

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll
public class SqlKeepClause : QueryElement, IQueryElement
Inheritance
object
SqlKeepClause
Implements
Inherited Members
Extension Methods

Constructors

SqlKeepClause(KeepType, List<SqlWindowOrderItem>)

public SqlKeepClause(SqlKeepClause.KeepType type, List<SqlWindowOrderItem> orderBy)

Parameters

type SqlKeepClause.KeepType
orderBy List<SqlWindowOrderItem>

Properties

ElementType

AST node type.

public override QueryElementType ElementType { get; }

Property Value

QueryElementType

OrderBy

public List<SqlWindowOrderItem> OrderBy { get; }

Property Value

List<SqlWindowOrderItem>

Type

public SqlKeepClause.KeepType Type { get; }

Property Value

SqlKeepClause.KeepType

Methods

Accept(QueryElementVisitor)

Visitor support.

public override IQueryElement Accept(QueryElementVisitor visitor)

Parameters

visitor QueryElementVisitor

Returns

IQueryElement

Equals(SqlKeepClause)

protected bool Equals(SqlKeepClause other)

Parameters

other SqlKeepClause

Returns

bool

Equals(SqlKeepClause, Func<ISqlExpression, ISqlExpression, bool>)

public bool Equals(SqlKeepClause other, Func<ISqlExpression, ISqlExpression, bool> comparer)

Parameters

other SqlKeepClause
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetElementHashCode()

public override int GetElementHashCode()

Returns

int

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

orderBy List<SqlWindowOrderItem>

ToString(QueryElementTextWriter)

Generates debug text representation of AST node.

public override QueryElementTextWriter ToString(QueryElementTextWriter writer)

Parameters

writer QueryElementTextWriter

Returns

QueryElementTextWriter