View Source
Class ContentVersionDto
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ContentVersionDto
Constructors
View Source
ContentVersionDto()
Declaration
public ContentVersionDto()
Fields
View Source
PrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
View Source
TableName
Declaration
public const string TableName = "umbracoContentVersion"
Field Value
Properties
View Source
ContentDto
Declaration
public ContentDto? ContentDto { get; set; }
Property Value
View Source
Current
Declaration
[Index(IndexTypes.NonClustered, Name = "IX_umbracoContentVersion_Current", IncludeColumns = "nodeId")]
public bool Current { get; set; }
Property Value
View Source
Id
Declaration
[PrimaryKeyColumn]
public int Id { get; set; }
Property Value
View Source
NodeId
Declaration
[ForeignKey(typeof(ContentDto))]
[Index(IndexTypes.NonClustered, Name = "IX_umbracoContentVersion_NodeId", ForColumns = "nodeId,current", IncludeColumns = "id,versionDate,text,userId,preventCleanup")]
public int NodeId { get; set; }
Property Value
View Source
PreventCleanup
Declaration
[Constraint(Default = "0")]
public bool PreventCleanup { get; set; }
Property Value
View Source
Text
Declaration
[NullSetting(NullSetting = NullSettings.Null)]
public string? Text { get; set; }
Property Value
View Source
UserId
Declaration
[ForeignKey(typeof(UserDto))]
[NullSetting(NullSetting = NullSettings.Null)]
public int? UserId { get; set; }
Property Value
View Source
VersionDate
Declaration
[Constraint(Default = SystemMethods.CurrentUTCDateTime)]
public DateTime VersionDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|