Table of Contents

Class GroupMatrixValueRow

Namespace
Dynamicweb.Ecommerce.Products.Categories
Assembly
Dynamicweb.Ecommerce.dll

One stored entry of a group's matrix in EcomProductCategoryFieldGroupValue, under the matrix category. An entry with an empty FieldId is a row header: it exists once per row, in the default language, and carries the row's position. Every other entry is a cell.

public sealed record GroupMatrixValueRow : IEquatable<GroupMatrixValueRow>
Inheritance
GroupMatrixValueRow
Implements
Inherited Members

Constructors

GroupMatrixValueRow(string, string, string, int, int, string?)

One stored entry of a group's matrix in EcomProductCategoryFieldGroupValue, under the matrix category. An entry with an empty FieldId is a row header: it exists once per row, in the default language, and carries the row's position. Every other entry is a cell.

public GroupMatrixValueRow(string CategoryId, string FieldId, string LanguageId, int RowId, int Position, string? Value)

Parameters

CategoryId string

The matrix field's column category (MatrixAttributeGroupId).

FieldId string

The column the cell belongs to, or empty for a row header.

LanguageId string

The language the entry is stored in.

RowId int

The row id. It identifies the row for as long as it exists, whatever its position, and no other row of the matrix category has it.

Position int

The row's position for a row header; 0 for a cell.

Value string

The cell value; empty for a row header.

Properties

CategoryId

The matrix field's column category (MatrixAttributeGroupId).

public string CategoryId { get; init; }

Property Value

string

FieldId

The column the cell belongs to, or empty for a row header.

public string FieldId { get; init; }

Property Value

string

LanguageId

The language the entry is stored in.

public string LanguageId { get; init; }

Property Value

string

Position

The row's position for a row header; 0 for a cell.

public int Position { get; init; }

Property Value

int

RowId

The row id. It identifies the row for as long as it exists, whatever its position, and no other row of the matrix category has it.

public int RowId { get; init; }

Property Value

int

Value

The cell value; empty for a row header.

public string? Value { get; init; }

Property Value

string
To top