Search Results for

    Show / Hide Table of Contents
    View Source

    Class DocumentVersionDto

    Data transfer object representing a specific version of a document in Umbraco CMS, typically used for persistence operations.

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

    Constructors

    View Source

    DocumentVersionDto()

    Declaration
    public DocumentVersionDto()

    Fields

    View Source

    PrimaryKeyColumnName

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

    PublishedColumnName

    Declaration
    public const string PublishedColumnName = "published"
    Field Value
    Type Description
    string
    View Source

    TableName

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

    Properties

    View Source

    ContentVersionDto

    Gets or sets the ContentVersionDto associated with this document version.

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

    Id

    Gets or sets the unique identifier for the document version.

    Declaration
    [PrimaryKeyColumn(AutoIncrement = false)]
    [ForeignKey(typeof(ContentVersionDto))]
    [Index(IndexTypes.NonClustered, Name = "IX_umbracoDocumentVersion_id_published", ForColumns = "id,published", IncludeColumns = "templateId")]
    public int Id { get; set; }
    Property Value
    Type Description
    int
    View Source

    Published

    Gets or sets a value indicating whether this document version is published.

    Declaration
    [Index(IndexTypes.NonClustered, Name = "IX_umbracoDocumentVersion_published", ForColumns = "published", IncludeColumns = "id,templateId")]
    public bool Published { get; set; }
    Property Value
    Type Description
    bool
    View Source

    TemplateId

    Gets or sets the template identifier associated with the document version.

    Declaration
    [NullSetting(NullSetting = NullSettings.Null)]
    [ForeignKey(typeof(TemplateDto), Column = "nodeId")]
    public int? TemplateId { get; set; }
    Property Value
    Type Description
    int?
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX