EdmFunctionAttribute Class

Definition

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
EdmFunctionAttribute
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