Class ContentRepositoryBase<TId, TEntity, TRepository>.TempContent
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
Assembly: Umbraco.Infrastructure.dll
Syntax
protected class TempContent
Constructors
View SourceTempContent(Int32, Int32, Int32, IContentTypeComposition)
Declaration
public TempContent(int id, int versionId, int publishedVersionId, IContentTypeComposition contentType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.Int32 | versionId | |
System.Int32 | publishedVersionId | |
IContentTypeComposition | contentType |
Properties
View SourceContentType
Gets or sets the content type.
Declaration
public IContentTypeComposition ContentType { get; set; }
Property Value
Type | Description |
---|---|
IContentTypeComposition |
Id
Gets or sets the identifier of the content.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PublishedVersionId
Gets or sets the published version identifier of the content.
Declaration
public int PublishedVersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Template1Id
Gets or sets the identifier of the template 1 of the content.
Declaration
public int? Template1Id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Template2Id
Gets or sets the identifier of the template 2 of the content.
Declaration
public int? Template2Id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
VersionId
Gets or sets the version identifier of the content.
Declaration
public int VersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |