Search Results for

    Show / Hide Table of Contents
    View Source

    Class ElementVersionDto

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

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

    Constructors

    View Source

    ElementVersionDto()

    Declaration
    public ElementVersionDto()

    Fields

    View Source

    TableName

    The database table name for element versions.

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

    Properties

    View Source

    ContentVersionDto

    Gets or sets the ContentVersionDto associated with this element version.

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

    Id

    Gets or sets the unique identifier for the element version.

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

    Published

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

    Declaration
    [Index(IndexTypes.NonClustered, Name = "IX_umbracoElementVersion_published", ForColumns = "published", IncludeColumns = "id")]
    public bool Published { get; set; }
    Property Value
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX