DbFunctionAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示指定的方法是 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。
建構函式
DbFunctionAttribute(String, String) |
初始化 DbFunctionAttribute 類別的新執行個體。 |
屬性
FunctionName |
所對應之函式的名稱。 |
NamespaceName |
所對應之函式的命名空間。 |