Class CacheInstructionDto
Data transfer object representing a cache instruction for persistence operations.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class CacheInstructionDto
Constructors
View SourceCacheInstructionDto()
Declaration
public CacheInstructionDto()
Fields
View SourcePrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
| Type | Description |
|---|---|
| string |
TableName
Declaration
public const string TableName = "umbracoCacheInstruction"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceId
Gets or sets the unique ID of the cache instruction.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[PrimaryKeyColumn(AutoIncrement = true, Name = "PK_umbracoCacheInstruction")]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
InstructionCount
Gets or sets the count of instructions.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Constraint(Default = 1)]
public int InstructionCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Instructions
Gets or sets the JSON-serialized instructions used for cache operations.
Declaration
[SpecialDbType(SpecialDbTypes.NVARCHARMAX)]
[NullSetting(NullSetting = NullSettings.NotNull)]
public string Instructions { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OriginIdentity
Gets or sets the identifier of the origin that issued the cache instruction.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
[Length(500)]
public string OriginIdentity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UtcStamp
Gets or sets the UTC timestamp for the cache instruction.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
public DateTime UtcStamp { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |