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. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework