Språk

EntityAttribute Klass

Definition

Detta attribut används för att specificera att en metodparameter är bunden till en entitet som kan lösas av en implementation av 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
Arv
EntityAttribute
Attribut

Konstruktorer

Name Description
EntityAttribute(String)

Konstruera EntityAttribute.

Fält

Name Description
Name

Entitetsnamnet.

Gäller för