DbFunctionAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示给定方法是 EDM 函数的代理。
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")]
public class DbFunctionAttribute : Attribute
type DbFunctionAttribute = class
inherit Attribute
Public Class DbFunctionAttribute
Inherits Attribute
- 继承
-
DbFunctionAttribute
- 派生
- 属性
注解
请注意,此类在旧版实体框架中称为 EdmFunctionAttribute。
构造函数
DbFunctionAttribute(String, String) |
初始化 DbFunctionAttribute 类的新实例。 |
属性
FunctionName |
映射目标函数的名称。 |
NamespaceName |
映射目标函数的命名空间。 |