View Source
Class DataTypeDto
Data Transfer Object (DTO) for persisting data type information in the database.
Assembly: Umbraco.Infrastructure.dll
Syntax
Constructors
View Source
DataTypeDto()
Declaration
Fields
View Source
DbTypeColumnName
Declaration
public const string DbTypeColumnName = "dbType"
Field Value
View Source
EditorAliasColumnName
Declaration
public const string EditorAliasColumnName = "propertyEditorAlias"
Field Value
View Source
PrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "nodeId"
Field Value
View Source
TableName
Declaration
public const string TableName = "umbracoDataType"
Field Value
Properties
View Source
Configuration
Gets or sets the serialized configuration for the data type.
This is typically stored as a JSON string.
Declaration
[SpecialDbType(SpecialDbTypes.NVARCHARMAX)]
[NullSetting(NullSetting = NullSettings.Null)]
public string? Configuration { get; set; }
Property Value
View Source
DbType
Gets or sets the type of the database column used to store values for this data type.
Declaration
[Length(50)]
public string DbType { get; set; }
Property Value
View Source
EditorAlias
Gets or sets the alias of the property editor associated with this data type.
Declaration
public string EditorAlias { get; set; }
Property Value
View Source
EditorUiAlias
Gets or sets the alias of the editor UI associated with the data type.
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public string? EditorUiAlias { get; set; }
Property Value
View Source
NodeDto
Gets or sets the NodeDto associated with this data type.
Declaration
public NodeDto NodeDto { get; set; }
Property Value
View Source
NodeId
Gets or sets the identifier of the associated node.
This value is a foreign key to the NodeDto entity.
Declaration
[PrimaryKeyColumn(AutoIncrement = false)]
[ForeignKey(typeof(NodeDto))]
public int NodeId { get; set; }
Property Value