Table of Contents

Interface IETag

Namespace
CloudStorageORM.Abstractions
Assembly
CloudStorageORM.dll

Contract for entities that persist an object-store ETag for optimistic concurrency checks.

public interface IETag

Properties

ETag

Stores the current object-store ETag used for optimistic concurrency checks.

[MaxLength(64)]
string? ETag { get; set; }

Property Value

string

Examples

public class User : IETag
{
    public string Id { get; set; } = string.Empty;
    public string? ETag { get; set; }
}