Table of Contents

Class SqlGroupingSet

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll
public class SqlGroupingSet : ISqlExpression, IQueryElement, IEquatable<ISqlExpression>, ISqlExpressionWalkable
Inheritance
SqlGroupingSet
Implements
Extension Methods

Constructors

SqlGroupingSet()

public SqlGroupingSet()

Properties

CanBeNull

public bool CanBeNull { get; }

Property Value

bool

ElementType

public QueryElementType ElementType { get; }

Property Value

QueryElementType

Items

public List<ISqlExpression> Items { get; }

Property Value

List<ISqlExpression>

Precedence

public int Precedence { get; }

Property Value

int

SystemType

public Type? SystemType { get; }

Property Value

Type

Methods

Equals(ISqlExpression?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ISqlExpression? other)

Parameters

other ISqlExpression

An object to compare with this object.

Returns

bool

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

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

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

Parameters

other ISqlExpression
comparer Func<ISqlExpression, ISqlExpression, bool>

Returns

bool

ToString(StringBuilder, Dictionary<IQueryElement, IQueryElement>)

public StringBuilder ToString(StringBuilder sb, Dictionary<IQueryElement, IQueryElement> dic)

Parameters

sb StringBuilder
dic Dictionary<IQueryElement, IQueryElement>

Returns

StringBuilder

Walk<TContext>(WalkOptions, TContext, Func<TContext, ISqlExpression, ISqlExpression>)

public ISqlExpression? Walk<TContext>(WalkOptions options, TContext context, Func<TContext, ISqlExpression, ISqlExpression> func)

Parameters

options WalkOptions
context TContext
func Func<TContext, ISqlExpression, ISqlExpression>

Returns

ISqlExpression

Type Parameters

TContext