語言

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
屬性

備註

請注意,這個屬性已被以 EF6 開頭取代 DbFunctionAttribute 。

建構函式

名稱 Description
EdmFunctionAttribute(String, String)
已淘汰.

建立一個新的 DbFunctionAttribute 實例。

屬性

名稱 Description
FunctionName
已淘汰.

映射到函數的名稱。

(繼承來源 DbFunctionAttribute)
NamespaceName
已淘汰.

映射到函式的命名空間。

(繼承來源 DbFunctionAttribute)

適用於