Table of Contents

Class ObjectLock

Namespace
BiExcellence.OpenBi.Api.ObjectLocks
Assembly
BiExcellence.OpenBi.Api.Client.dll

A lock held on a single row (Table + Id) by some user.

public sealed record ObjectLock : IObjectLock
Inheritance
object
ObjectLock
Implements

Properties

Id

The id of the locked row within Table.

[JsonPropertyName("id")]
public string? Id { get; init; }

Property Value

string

Table

The table of the locked row, as the caller named it when locking - usually the database table name.

[JsonPropertyName("table")]
public string? Table { get; init; }

Property Value

string

Username

The username of the user whose session holds the lock.

[JsonPropertyName("username")]
public string? Username { get; init; }

Property Value

string