Table of Contents

Class SqlNamedAggregateFunctionExpressionNode

Namespace
LfrlAnvil.Sql.Expressions.Functions
Assembly
LfrlAnvil.Sql.Core.dll

Represents an SQL syntax tree expression node that defines an invocation of a custom aggregate function.

public sealed class SqlNamedAggregateFunctionExpressionNode : SqlAggregateFunctionExpressionNode
Inheritance
SqlNamedAggregateFunctionExpressionNode
Inherited Members
Extension Methods

Properties

Name

Aggregate function's name.

public SqlSchemaObjectName Name { get; }

Property Value

SqlSchemaObjectName

Methods

AddTrait(SqlTraitNode)

Creates a new SQL aggregate function invocation expression syntax tree node by adding a new trait.

[Pure]
public override SqlNamedAggregateFunctionExpressionNode AddTrait(SqlTraitNode trait)

Parameters

trait SqlTraitNode

Trait to add.

Returns

SqlNamedAggregateFunctionExpressionNode

New SQL aggregate function invocation expression syntax tree node.

SetTraits(Chain<SqlTraitNode>)

Creates a new SQL aggregate function invocation expression syntax tree node by changing the Traits collection.

[Pure]
public override SqlNamedAggregateFunctionExpressionNode SetTraits(Chain<SqlTraitNode> traits)

Parameters

traits Chain<SqlTraitNode>

Collection of traits to set.

Returns

SqlNamedAggregateFunctionExpressionNode

New SQL aggregate function invocation expression syntax tree node.