Show / Hide Table of Contents

    Class Lock

    The entity written in the locks table by the DbDistributedLockManager.

    Inheritance
    object
    Lock
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Database.Model
    Assembly: Silverback.Core.dll
    Syntax
    public class Lock

    Properties

    | Improve this doc View source

    Created

    Gets or sets the record creation date.

    Declaration
    public DateTime Created { get; set; }
    Property Value
    Type Description
    DateTime
    | Improve this doc View source

    Heartbeat

    Gets or sets the last heartbeat timestamp.

    Declaration
    public DateTime Heartbeat { get; set; }
    Property Value
    Type Description
    DateTime
    | Improve this doc View source

    Name

    Gets or sets the name of the lock / the resource being locked.

    Declaration
    [Key]
    [MaxLength(500)]
    public string? Name { get; set; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    Timestamp

    Gets or sets the concurrency token.

    Declaration
    [Timestamp]
    public byte[]? Timestamp { get; set; }
    Property Value
    Type Description
    byte[]
    | Improve this doc View source

    UniqueId

    Gets or sets a unique identifier representing the entity trying to acquire the lock.

    Declaration
    [MaxLength(200)]
    public string? UniqueId { get; set; }
    Property Value
    Type Description
    string
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini