Sdílet prostřednictvím


DbFunctionAttribute Třída

Definice

Označuje, že daná metoda je proxy pro funkci 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
Dědičnost
DbFunctionAttribute
Odvozené
Atributy

Poznámky

Všimněte si, že tato třída byla v některých předchozích verzích Entity Framework označena jako EdmFunctionAttribute.

Konstruktory

DbFunctionAttribute(String, String)

Inicializuje novou instanci DbFunctionAttribute třídy .

Vlastnosti

FunctionName

Název funkce mapovaného na.

NamespaceName

Obor názvů funkce mapped-to.

Platí pro