Table of Contents

Class Row

Namespace
The.Persistence
Assembly
Instagile.dll

dynamic content of an entity row and its joined relationships, sufficient to create a kernel

[MessagePackObject(false)]
public sealed class Row
Inheritance
Row
Inherited Members

Constructors

Row(string, byte[], ColumnsByIndex, byte[]?[], int[])

[SerializationConstructor]
[JsonConstructor]
public Row(string typeName, byte[] idBytes, ColumnsByIndex attributes, byte[]?[] referenceBytes, int[] collections)

Parameters

typeName string
idBytes byte[]
attributes ColumnsByIndex
referenceBytes byte[][]
collections int[]

Row(string, Guid, ColumnsByIndex, Guid?[], int[])

public Row(string typeName, Guid id, ColumnsByIndex attributes, Guid?[] references, int[] collections)

Parameters

typeName string
id Guid
attributes ColumnsByIndex
references Guid?[]
collections int[]

Properties

Attributes

[Key(2)]
public ColumnsByIndex Attributes { get; }

Property Value

ColumnsByIndex

Collections

Collection counts by StorageIndex; non-navigable collection counts should be 0

[Key(4)]
public int[] Collections { get; }

Property Value

int[]

ID

[IgnoreMember]
[JsonIgnore]
public Guid ID { get; }

Property Value

Guid

IDBytes

[Key(1)]
public byte[] IDBytes { get; }

Property Value

byte[]

ReferenceBytes

[Key(3)]
public byte[]?[] ReferenceBytes { get; }

Property Value

byte[][]

References

[IgnoreMember]
[JsonIgnore]
public Guid?[] References { get; }

Property Value

Guid?[]

TypeName

[Key(0)]
public string TypeName { get; }

Property Value

string

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToPartial(EntityMetadataDictionary)

public ColumnsByName ToPartial(EntityMetadataDictionary metadata)

Parameters

metadata EntityMetadataDictionary

Returns

ColumnsByName

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.