Table of Contents

Class EntityUpdateModel

Namespace
Arbiter.CommandQuery.Models
Assembly
Arbiter.CommandQuery.dll

An update model base class

public class EntityUpdateModel : ITrackUpdated, ITrackConcurrency
Inheritance
EntityUpdateModel
Implements
Inherited Members

Properties

RowVersion

Gets or sets the row version concurrency value.

[JsonPropertyName("rowVersion")]
[JsonPropertyOrder(9999)]
public long RowVersion { get; set; }

Property Value

long

The row version concurrency value.

Updated

Gets or sets the Coordinated Universal Time (UTC) date and time the entity was last updated.

[JsonPropertyName("updated")]
[JsonPropertyOrder(9992)]
public DateTimeOffset Updated { get; set; }

Property Value

DateTimeOffset

The Coordinated Universal Time (UTC) date and time the entity was last updated.

UpdatedBy

Gets or sets the user that last updated this entity.

[JsonPropertyName("updatedBy")]
[JsonPropertyOrder(9993)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? UpdatedBy { get; set; }

Property Value

string

The user that last updated this entity.

See Also