EdmFunctionAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 繼承
- 屬性
備註
請注意,這個屬性已被以 EF6 開頭取代 DbFunctionAttribute 。
建構函式
| 名稱 | Description |
|---|---|
| EdmFunctionAttribute(String, String) |
已淘汰.
建立一個新的 DbFunctionAttribute 實例。 |
屬性
| 名稱 | Description |
|---|---|
| FunctionName |
已淘汰.
映射到函數的名稱。 (繼承來源 DbFunctionAttribute) |
| NamespaceName |
已淘汰.
映射到函式的命名空間。 (繼承來源 DbFunctionAttribute) |