Share via


EntityAttribute Klasse

Definition

Dieses Attribut wird verwendet, um anzugeben, dass ein Methodenparameter an eine Entität gebunden ist, die durch eine Implementierung von IResolveraufgelöst werden kann.

[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
Vererbung
EntityAttribute
Attribute

Konstruktoren

EntityAttribute(String)

Erstellen Sie die EntityAttribute.

Felder

Name

Der Name der Entität.

Gilt für: