語言

DbFunctionAttribute 類別

定義

表示指定的方法是 EDM 函式的 Proxy。

[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
衍生
屬性

備註

請注意,此類別在舊版 Entity Framework 中稱為 EdmFunctionAttribute。

建構函式

名稱 Description
DbFunctionAttribute(String, String)

初始化 DbFunctionAttribute 類別的新執行個體。

屬性

名稱 Description
FunctionName

所對應之函式的名稱。

NamespaceName

所對應之函式的命名空間。

適用於