DbFunctionAggregate Class
TOC
Collapse the table of content
Expand the table of content

DbFunctionAggregate Class

 

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

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

System.Object
  System.Data.Common.CommandTrees.DbAggregate
    System.Data.Common.CommandTrees.DbFunctionAggregate

public sealed class DbFunctionAggregate : DbAggregate

NameDescription
System_CAPS_pubpropertyArguments

Gets the list of expressions that define the arguments to this DbAggregate.(Inherited from DbAggregate.)

System_CAPS_pubpropertyDistinct

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

System_CAPS_pubpropertyFunction

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

System_CAPS_pubpropertyResultType

Gets the result type of this DbAggregate. (Inherited from DbAggregate.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAs(String)

Overloaded. Returns the specified arguments as a key/value pair object.(Defined by DbExpressionBuilder.)

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.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft