Class DynamicStructureLevel
- Namespace
- Dynamicweb.Indexing.DynamicStructuring
- Assembly
- Dynamicweb.Indexing.dll
The class represents single level for DynamicStructure
public class DynamicStructureLevel
- Inheritance
-
DynamicStructureLevel
- Inherited Members
Constructors
DynamicStructureLevel()
Initializes a new instance of the class.
public DynamicStructureLevel()
DynamicStructureLevel(Guid, string, SortDirection, int)
Initializes a new instance of the class.
public DynamicStructureLevel(Guid structureId, string field, SortDirection sortDirection, int index)
Parameters
structureId
Guid- Related DynamicStructure id.
field
string- The level source field.
sortDirection
SortDirection- The sorting direction.
index
int- The index of level.
Fields
FieldSortDirection
Gets or sets the sorting direction for SourceField
public SortDirection FieldSortDirection
Field Value
Id
Gets or sets the level id.
public int Id
Field Value
Index
Gets or sets the level index
public int Index
Field Value
SourceField
Gets or sets the related field of the dynamic structure.
public string SourceField
Field Value
StructureId
Gets or sets the related structure id.
public Guid StructureId
Field Value
Value
Gets or sets the dynamic level value
public string Value
Field Value
ValueCount
Gets or sets the dynamic level value label
public long ValueCount
Field Value
ValueLabel
Gets or sets the dynamic level value label
public string ValueLabel
Field Value
Properties
UseCompleteness
Gets or sets value indicating whether or not created product from this level will be assigned to group, if the structure based on groups.
public bool UseCompleteness { get; set; }
Property Value
UseRelationOnProductCreate
Gets or sets value indicating whether or not created product from this level will be assigned to group, if the structure based on groups.
public bool UseRelationOnProductCreate { get; set; }