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