Search Results for

    Show / Hide Table of Contents
    View Source

    Class DictionaryDto

    Data transfer object representing a dictionary item in the Umbraco CMS database. Used for persisting and retrieving dictionary entries, typically for localization or multilingual support.

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

    public as required to be accessible from Deploy for the RepairDictionaryIdsWorkItem.

    Constructors

    View Source

    DictionaryDto()

    Declaration
    public DictionaryDto()

    Fields

    View Source

    PrimaryKeyColumnName

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

    TableName

    Declaration
    public const string TableName = "cmsDictionary"
    Field Value
    Type Description
    string
    View Source

    UniqueIdColumnName

    Declaration
    public const string UniqueIdColumnName = "id"
    Field Value
    Type Description
    string

    Properties

    View Source

    Key

    Gets or sets the unique key for the dictionary item.

    Declaration
    [Length(450)]
    [Index(IndexTypes.UniqueNonClustered, Name = "IX_cmsDictionary_key")]
    public string Key { get; set; }
    Property Value
    Type Description
    string
    View Source

    LanguageTextDtos

    Gets or sets the collection of language-specific text DTOs associated with this dictionary entry.

    Declaration
    public List<LanguageTextDto> LanguageTextDtos { get; set; }
    Property Value
    Type Description
    List<LanguageTextDto>
    View Source

    Parent

    Gets or sets the unique identifier of the parent dictionary item, or null if this item has no parent.

    Declaration
    [NullSetting(NullSetting = NullSettings.Null)]
    [ForeignKey(typeof(DictionaryDto), Column = "id")]
    [Index(IndexTypes.NonClustered, Name = "IX_cmsDictionary_Parent")]
    public Guid? Parent { get; set; }
    Property Value
    Type Description
    Guid?
    View Source

    PrimaryKey

    Gets or sets the primary key of the dictionary entry.

    Declaration
    [PrimaryKeyColumn]
    public int PrimaryKey { get; set; }
    Property Value
    Type Description
    int
    View Source

    UniqueId

    Gets or sets the unique identifier for the dictionary item.

    Declaration
    [Index(IndexTypes.UniqueNonClustered)]
    public Guid UniqueId { get; set; }
    Property Value
    Type Description
    Guid
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX