MorkRow Class

A row of a Mork database: its cells, by column name.

public sealed class MorkRow

Properties

NameDescription
CellsGets the cells of the row: the values by column name.
IdGets the identifier of the row in its scope, a hexadecimal number.
ScopeGets the scope of the row, such as ns:msg:db:row:scope:msgs:all.

Gets the cells of the row: the values by column name.

public IDictionary<string, string> Cells { get; }

Gets the identifier of the row in its scope, a hexadecimal number.

public string Id { get; }

Property value

string

Gets the scope of the row, such as ns:msg:db:row:scope:msgs:all.

public string Scope { get; }

Property value

string

Indexers

NameDescription
this[string]Gets or sets the value of a cell, or null when the row has no cell in the column.

this[string]

MorkRow.cs

Gets or sets the value of a cell, or null when the row has no cell in the column.

public string? this[string column] { get; set; }

Parameters

column string
The name of the column.

Property value

string?

Methods

NameDescription
ToString()Returns the scope and the identifier of the row.

ToString()

MorkRow.cs

Returns the scope and the identifier of the row.

public override string ToString()

Returns

string The scope and the identifier.