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
typeNamestringidBytesbyte[]attributesColumnsByIndexreferenceBytesbyte[][]collectionsint[]
Row(string, Guid, ColumnsByIndex, Guid?[], int[])
public Row(string typeName, Guid id, ColumnsByIndex attributes, Guid?[] references, int[] collections)
Parameters
typeNamestringidGuidattributesColumnsByIndexreferencesGuid?[]collectionsint[]
Properties
Attributes
[Key(2)]
public ColumnsByIndex Attributes { get; }
Property Value
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
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
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
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
metadataEntityMetadataDictionary
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.