Search Results for

    Show / Hide Table of Contents
    View Source

    Class DataTypeDto

    Data Transfer Object (DTO) for persisting data type information in the database.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class DataTypeDto

    Constructors

    View Source

    DataTypeDto()

    Declaration
    public DataTypeDto()

    Fields

    View Source

    DbTypeColumnName

    Declaration
    public const string DbTypeColumnName = "dbType"
    Field Value
    Type Description
    string
    View Source

    EditorAliasColumnName

    Declaration
    public const string EditorAliasColumnName = "propertyEditorAlias"
    Field Value
    Type Description
    string
    View Source

    PrimaryKeyColumnName

    Declaration
    public const string PrimaryKeyColumnName = "nodeId"
    Field Value
    Type Description
    string
    View Source

    TableName

    Declaration
    public const string TableName = "umbracoDataType"
    Field Value
    Type Description
    string

    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
    Type Description
    string
    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
    Type Description
    string
    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
    Type Description
    string
    Remarks

    TODO: should this have a length

    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
    Type Description
    string
    View Source

    NodeDto

    Gets or sets the NodeDto associated with this data type.

    Declaration
    public NodeDto NodeDto { get; set; }
    Property Value
    Type Description
    NodeDto
    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
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX