Condividi tramite


EntityAttribute Classe

Definizione

Questo attributo viene usato per specificare che un parametro del metodo è associato a un'entità che può essere risolta da un'implementazione di IResolver.

[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=true, Inherited=true)]
[System.Serializable]
public sealed class EntityAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=true, Inherited=true)>]
[<System.Serializable>]
type EntityAttribute = class
    inherit Attribute
Public NotInheritable Class EntityAttribute
Inherits Attribute
Ereditarietà
EntityAttribute
Attributi

Costruttori

EntityAttribute(String)

Costruire l'oggetto EntityAttribute.

Campi

Name

Nome dell'entità.

Si applica a