语言

EdmFunctionAttribute 类

定义

注意

This attribute has been replaced by System.Data.Entity.DbFunctionAttribute.

指示给定方法是 EDM 函数的代理。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
[System.Obsolete("This attribute has been replaced by System.Data.Entity.DbFunctionAttribute.")]
public sealed class EdmFunctionAttribute : System.Data.Entity.DbFunctionAttribute
type EdmFunctionAttribute = class
    inherit DbFunctionAttribute
Public NotInheritable Class EdmFunctionAttribute
Inherits DbFunctionAttribute
继承
EdmFunctionAttribute
特性

注解

请注意,此属性已替换为 DbFunctionAttribute EF6 的开头。

构造函数

名称 说明
EdmFunctionAttribute(String, String)
已过时.

创建新的 DbFunctionAttribute 实例。

属性

名称 说明
FunctionName
已过时.

映射到函数的名称。

(继承自 DbFunctionAttribute)
NamespaceName
已过时.

映射到函数的命名空间。

(继承自 DbFunctionAttribute)

适用于