Class FoundationIdReferenceAttribute
The attribute's former home. It moved to Serenity.Global.Domain.Attributes so a domain entity can
declare a reference without depending on the application layer; this derived type keeps code that still
names it compiling and reading as the same declaration (an attribute lookup for the new type finds it).
Namespace: Serenity.Global.Application.Attributes
Assembly: Serenity.Global.Application.dll
Syntax
[Obsolete("FoundationIdReferenceAttribute moved to Serenity.Global.Domain.Attributes; use it from there.")]
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter, AllowMultiple = true, Inherited = true)]
public sealed class FoundationIdReferenceAttribute : FoundationIdReferenceAttribute
Constructors
FoundationIdReferenceAttribute(Type)
Creates the attribute targeting the given definition type.
Declaration
public FoundationIdReferenceAttribute(Type definitionType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | definitionType | The IFoundationSettings-derived type to source ids from. |