Search Results for

    Show / Hide Table of Contents
    View Source

    Class DocumentUrlDto

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

    Constructors

    View Source

    DocumentUrlDto()

    Declaration
    public DocumentUrlDto()

    Fields

    View Source

    IsDraftColumnName

    Declaration
    public const string IsDraftColumnName = "isDraft"
    Field Value
    Type Description
    string
    View Source

    IsPrimaryColumnName

    Declaration
    public const string IsPrimaryColumnName = "isPrimary"
    Field Value
    Type Description
    string
    View Source

    LanguageIdColumnName

    Declaration
    public const string LanguageIdColumnName = "languageId"
    Field Value
    Type Description
    string
    View Source

    PrimaryKeyColumnName

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

    TableName

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

    UniqueIdColumnName

    Declaration
    public const string UniqueIdColumnName = "uniqueId"
    Field Value
    Type Description
    string
    View Source

    UrlSegmentColumnName

    Declaration
    public const string UrlSegmentColumnName = "urlSegment"
    Field Value
    Type Description
    string

    Properties

    View Source

    IsDraft

    Declaration
    public bool IsDraft { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsPrimary

    Declaration
    [Constraint(Default = 1)]
    public bool IsPrimary { get; set; }
    Property Value
    Type Description
    bool
    View Source

    LanguageId

    Gets or sets the language Id.

    Declaration
    [Obsolete("Use NullableLanguageId instead. This property returns 0 for invariant content. Scheduled for removal in Umbraco 18, when the NullableLanguageId will also be renamed to LanguageId.")]
    public int LanguageId { get; set; }
    Property Value
    Type Description
    int
    Remarks

    This property returns 0 for invariant content. Use NullableLanguageId instead, which correctly returns null for invariant content.

    View Source

    NodeId

    Declaration
    [PrimaryKeyColumn(Clustered = false, AutoIncrement = true)]
    public int NodeId { get; set; }
    Property Value
    Type Description
    int
    View Source

    NullableLanguageId

    Gets or sets the language Id. NULL indicates invariant content (not language-specific).

    Declaration
    [NullSetting(NullSetting = NullSettings.Null)]
    [ForeignKey(typeof(LanguageDto))]
    public int? NullableLanguageId { get; set; }
    Property Value
    Type Description
    int?
    View Source

    UniqueId

    Declaration
    [Index(IndexTypes.UniqueClustered, ForColumns = "uniqueId, languageId, isDraft, urlSegment", Name = "IX_umbracoDocumentUrl")]
    [ForeignKey(typeof(NodeDto), Column = "uniqueId")]
    public Guid UniqueId { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    UrlSegment

    Declaration
    [NullSetting(NullSetting = NullSettings.NotNull)]
    public string UrlSegment { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX