Share via


EntityAttribute Class

Definition

This attribute is used to specify that a method parameter is bound to an entity that can be resolved by an implementation of 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
Inheritance
EntityAttribute
Attributes

Constructors

EntityAttribute(String)

Construct the EntityAttribute.

Fields

Name

The entity name.

Applies to