Idioma

DbFunctionAttribute Classe

Definição

Indica que o método especificado é um proxy para uma função EDM.

[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
Herança
DbFunctionAttribute
Derivado
Atributos

Comentários

Observe que essa classe foi chamada de EdmFunctionAttribute em algumas versões anteriores do Entity Framework.

Construtores

Nome Descrição
DbFunctionAttribute(String, String)

Inicializa uma nova instância da classe DbFunctionAttribute.

Propriedades

Nome Descrição
FunctionName

O nome da função mapeada para.

NamespaceName

O namespace da função mapeada para.

Aplica-se a