DbFunctionAggregate 类

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

对应于聚合函数的调用的聚合类型。

继承层次结构

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

命名空间:  System.Data.Entity.Core.Common.CommandTrees
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public NotInheritable Class DbFunctionAggregate _
    Inherits DbAggregate
用法
Dim instance As DbFunctionAggregate
public sealed class DbFunctionAggregate : DbAggregate
public ref class DbFunctionAggregate sealed : public DbAggregate
[<SealedAttribute>]
type DbFunctionAggregate =  
    class 
        inherit DbAggregate 
    end
public final class DbFunctionAggregate extends DbAggregate

DbFunctionAggregate 类型公开以下成员。

属性

  名称 描述
公共属性 Arguments 获取定义要聚合的参数的表达式列表。 (继承自 DbAggregate。)
公共属性 Distinct 获取一个值,该值指示是否以不同风格应用聚合函数
公共属性 Function 获取指定要调用的聚合函数的方法元数据。
公共属性 ResultType 获取此聚合的结果类型。 (继承自 DbAggregate。)

顶部

方法

  名称 描述
公共方法 Equals (继承自 Object。)
公共方法 GetHashCode (继承自 Object。)
公共方法 GetType (继承自 Object。)
公共方法 ToString (继承自 Object。)

顶部

扩展方法 

  名称 描述
公共扩展方法 As 以键/值对对象的形式返回指定参数。 (由 DbExpressionBuilder 定义。)

顶部

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

System.Data.Entity.Core.Common.CommandTrees 命名空间