DbAggregate 类

定义

实现 GroupBy 子句中的聚合所需的基本功能。Implements the basic functionality required by aggregates in a GroupBy clause.

public ref class DbAggregate abstract
public abstract class DbAggregate
type DbAggregate = class
Public MustInherit Class DbAggregate
继承
DbAggregate
派生

注解

聚合是伪表达式,其可以出现的位置有严格的限制。Aggregates are pseudo-expressions, and are severely restricted in where they can appear. 聚合只能出现在表达式的聚合子句中 GroupByAggregates can only appear in the aggregates clause of a GroupBy expression.

属性

Arguments

获取对此 DbAggregate 定义参数的表达式列表。Gets the list of expressions that define the arguments to this DbAggregate.

ResultType

获取此 DbAggregate 的结果类型。Gets the result type of this DbAggregate.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

扩展方法

As(DbAggregate, String)

返回作为键/值对象指的定参数。Returns the specified arguments as a key/value pair object.

适用于