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
CategoryIdstringThe matrix field's column category (MatrixAttributeGroupId).
FieldIdstringThe column the cell belongs to, or empty for a row header.
LanguageIdstringThe language the entry is stored in.
RowIdintThe 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.
PositionintThe row's position for a row header; 0 for a cell.
ValuestringThe cell value; empty for a row header.
Properties
CategoryId
The matrix field's column category (MatrixAttributeGroupId).
public string CategoryId { get; init; }
Property Value
FieldId
The column the cell belongs to, or empty for a row header.
public string FieldId { get; init; }
Property Value
LanguageId
The language the entry is stored in.
public string LanguageId { get; init; }
Property Value
Position
The row's position for a row header; 0 for a cell.
public int Position { get; init; }
Property Value
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
Value
The cell value; empty for a row header.
public string? Value { get; init; }