DbFunctionAttribute 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.
Indicates that the given method is a proxy for an EDM function.
[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
- Inheritance
-
DbFunctionAttribute
- Derived
- Attributes
Remarks
Note that this class was called EdmFunctionAttribute in some previous versions of Entity Framework.
Constructors
| DbFunctionAttribute(String, String) |
Initializes a new instance of the DbFunctionAttribute class. |
Properties
| FunctionName |
The name of the mapped-to function. |
| NamespaceName |
The namespace of the mapped-to function. |