Share via


SumExpression Class

Definition

Represents a SQL SUM expression.

public class SumExpression : Microsoft.EntityFrameworkCore.Query.Expressions.AggregateExpression
type SumExpression = class
    inherit AggregateExpression
Public Class SumExpression
Inherits AggregateExpression
Inheritance

Constructors

SumExpression(Expression)

Initializes a new instance of the Microsoft.EntityFrameworkCore.Query.Expressions.SumExpression class.

Properties

Expression

The expression to aggregate.

(Inherited from AggregateExpression)
NodeType

Returns the node type of this Expression. (Inherited from Expression.)

(Inherited from AggregateExpression)
Type

Gets the static type of the expression that this Expression represents. (Inherited from Expression.)

(Inherited from AggregateExpression)

Methods

Accept(ExpressionVisitor)

Dispatches to the specific visit method for this node type.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the Visit(Expression) method passing the reduced expression. Throws an exception if the node isn't reducible.

(Inherited from AggregateExpression)

Applies to