Class ReferencesAttribute
Attribute that represents a reference between two tables/DTOs
Inheritance
System.Object
System.Attribute
Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
Assembly: cs.temp.dll.dll
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property)]
public class ReferencesAttribute : Attribute, _Attribute
Constructors
ReferencesAttribute(Type)
Declaration
public ReferencesAttribute(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | type |
Properties
Type
Gets or sets the Type of the referenced DTO/table
Declaration
public Type Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Type |