Class RedbObjectRow

Assembly: redb.Core.dll

POCO for _objects table.
Used for direct SQL queries to objects table.
Not to be confused with RedbObject<TProps> which is a domain wrapper.

public class RedbObjectRow

Inheritance

ObjectRedbObjectRow

Properties

DateBegin

Begin date (for temporal objects).

[JsonPropertyName("date_begin")]
public DateTimeOffset? DateBegin { get; set; }

DateComplete

Complete date (for temporal objects).

[JsonPropertyName("date_complete")]
public DateTimeOffset? DateComplete { get; set; }

DateCreate

Creation date.

[JsonPropertyName("date_create")]
public DateTimeOffset DateCreate { get; set; }

DateModify

Last modification date.

[JsonPropertyName("date_modify")]
public DateTimeOffset DateModify { get; set; }

Hash

Hash for change tracking.

[JsonPropertyName("hash")]
public Guid? Hash { get; set; }

Id

Object ID.

[JsonPropertyName("id")]
public long Id { get; set; }

IdOwner

Owner user ID.

[JsonPropertyName("id_owner")]
public long IdOwner { get; set; }

IdParent

Parent object ID.

[JsonPropertyName("id_parent")]
public long? IdParent { get; set; }

IdScheme

Scheme ID.

[JsonPropertyName("id_scheme")]
public long IdScheme { get; set; }

IdWhoChange

Last modifier user ID.

[JsonPropertyName("id_who_change")]
public long IdWhoChange { get; set; }

Key

External key for integration.

[JsonPropertyName("key")]
public long? Key { get; set; }

Name

Object name.

[JsonPropertyName("name")]
public string? Name { get; set; }

Note

Object note.

[JsonPropertyName("note")]
public string? Note { get; set; }

ValueBool

Boolean value stored directly in object row.

[JsonPropertyName("_value_bool")]
public bool? ValueBool { get; set; }

ValueBytes

Binary data stored directly in object row.

[JsonPropertyName("_value_bytes")]
public byte[]? ValueBytes { get; set; }

ValueDatetime

DateTime value stored directly in object row.

[JsonPropertyName("_value_datetime")]
public DateTimeOffset? ValueDatetime { get; set; }

ValueDouble

Double value stored directly in object row.

[JsonPropertyName("_value_double")]
public double? ValueDouble { get; set; }

ValueGuid

Guid value stored directly in object row.

[JsonPropertyName("_value_guid")]
public Guid? ValueGuid { get; set; }

ValueLong

Long value stored directly in object row.

[JsonPropertyName("_value_long")]
public long? ValueLong { get; set; }

ValueNumeric

Numeric/decimal value stored directly in object row.

[JsonPropertyName("_value_numeric")]
public decimal? ValueNumeric { get; set; }

ValueString

String value stored directly in object row.

[JsonPropertyName("_value_string")]
public string? ValueString { get; set; }

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()