Class SilverbackLock
- Namespace
- Silverback.Lock
- Assembly
- Silverback.Storage.EntityFramework.dll
Represents a lock stored in the database.
public class SilverbackLock
- Inheritance
-
SilverbackLock
- Inherited Members
Constructors
SilverbackLock()
public SilverbackLock()
Properties
AcquiredOn
Gets or sets the acquired on timestamp.
public DateTime? AcquiredOn { get; set; }
Property Value
ConcurrencyToken
Gets or sets the concurrency token.
[Timestamp]
public byte[]? ConcurrencyToken { get; set; }
Property Value
- byte[]
Handler
Gets or sets the identifier of the handler that acquired the lock.
[MaxLength(200)]
public string? Handler { get; set; }
Property Value
LastHeartbeat
Gets or sets the last heartbeat timestamp.
public DateTime? LastHeartbeat { get; set; }
Property Value
LockName
Gets the name of the lock.
[Key]
[Required]
[MaxLength(200)]
public string LockName { get; init; }