Muokkaa

Jaa


DbFunctionAggregate Class

Definition

Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited.

public ref class DbFunctionAggregate sealed : System::Data::Common::CommandTrees::DbAggregate
public sealed class DbFunctionAggregate : System.Data.Common.CommandTrees.DbAggregate
type DbFunctionAggregate = class
    inherit DbAggregate
Public NotInheritable Class DbFunctionAggregate
Inherits DbAggregate
Inheritance
DbFunctionAggregate

Remarks

This aggregate type corresponds to the invocation of an aggregate function.

Aggregates are pseudo-expressions, and can only appear in the aggregates clause of a GroupBy expression.

Properties

Arguments

Gets the list of expressions that define the arguments to this DbAggregate.

(Inherited from DbAggregate)
Distinct

Gets a value indicating whether this aggregate is a distinct aggregate.

Function

Gets the method metadata that specifies the aggregate function to invoke.

ResultType

Gets the result type of this DbAggregate.

(Inherited from DbAggregate)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

As(DbAggregate, String)

Returns the specified arguments as a key/value pair object.

Applies to