EdmFunctionAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This attribute has been replaced by System.Data.Entity.DbFunctionAttribute.
Indicates that the given method is a proxy for an EDM function.
[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
- Inheritance
- Attributes
Remarks
Note that this attribute has been replaced by the DbFunctionAttribute starting with EF6.
Constructors
EdmFunctionAttribute(String, String) |
Creates a new DbFunctionAttribute instance. |
Properties
FunctionName |
The name of the mapped-to function. (Inherited from DbFunctionAttribute) |
NamespaceName |
The namespace of the mapped-to function. (Inherited from DbFunctionAttribute) |
Applies to
Entity Framework